System Management code
Dependencies: mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP
Fork of SystemManagement by
Diff: DataStructures/Headers/DefaultProfile.h
- Revision:
- 38:8efacce315ae
- Child:
- 39:ddf38df9699e
diff -r 2207b58b9a7f -r 8efacce315ae DataStructures/Headers/DefaultProfile.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DataStructures/Headers/DefaultProfile.h Sat Feb 07 08:54:51 2015 +0000 @@ -0,0 +1,35 @@ +#ifndef DEFAULT_PROFILE_H +#define DEFAULT_PROFILE_H + +#include "Profile.h" + +// The default flash configuration object, used as backup/failsafe in case other profiles are corrupted +Profile defaultProfile = { + -2, // GLV charging current limit + 5, // GLV discharging current limit + 1.4, // GLV battery nominal capacity (Ah) + 50, // GLV battery current filter taps + + 1.0, // DC-DC turn-on threshold current + 20, // DC-DC over current limit + 1, // DC-DC start-up delay + 1, // DC-DC stop delay + 50, // DC-DC current filter taps + + 10, // IMD Latch soft-delay on startup + 10, // AMS Latch soft-delay on startup + 60, // Interal over-temp + + true, // CAN noack + true, // Extended serial display + + CAN_TX_SIZE, // CAN tx size + CAN_RX_SIZE, // CAN rx size + SERIAL_BAUD, // Serial port baudrate + TX_SIZE, // Serial tx buffer size + XBEE_BAUD, // Xbee baudrate + XBEE_TX_SIZE, // Xbee tx buffer size + XBEE_RX_SIZE, // Xbee rx buffer size +}; + +#endif