Penn Electric Racing / Mbed 2 deprecated SystemManagement

Dependencies:   mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP

Fork of SystemManagement by Martin Deng

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers DefaultProfile.h Source File

DefaultProfile.h

00001 #ifndef DEFAULT_PROFILE_H
00002 #define DEFAULT_PROFILE_H
00003 
00004 #include "Profile.h"
00005 
00006 // The default flash configuration object, used as backup/failsafe in case other profiles are corrupted
00007 Profile defaultProfile = {
00008     -2,         // GLV charging current limit
00009     5,          // GLV discharging current limit
00010     1.4,        // GLV battery nominal capacity (Ah)
00011     50,         // GLV battery current filter taps
00012     
00013     1.0,        // DC-DC turn-on threshold current
00014     20,         // DC-DC over current limit
00015     1,          // DC-DC start-up delay
00016     1,          // DC-DC stop delay
00017     50,         // DC-DC current filter taps
00018     
00019     10,         // IMD Latch soft-delay on startup
00020     10,         // AMS Latch soft-delay on startup
00021     60,         // Interal over-temp
00022     
00023     true,       // CAN noack
00024     true,       // Extended serial display
00025     
00026     CAN_TX_SIZE,        // CAN tx size
00027     CAN_RX_SIZE,        // CAN rx size
00028     SERIAL_BAUD,        // Serial port baudrate
00029     TX_SIZE,            // Serial tx buffer size
00030 };
00031 
00032 #endif