System Management code
Dependencies: mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP
Fork of SystemManagement by
DataStructures/Headers/DefaultProfile.h@38:8efacce315ae, 2015-02-07 (annotated)
- Committer:
- pspatel321
- Date:
- Sat Feb 07 08:54:51 2015 +0000
- Revision:
- 38:8efacce315ae
- Child:
- 39:ddf38df9699e
Updated with profiles, operating info, etc. Just like the other programs. Awaiting test in car.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pspatel321 | 38:8efacce315ae | 1 | #ifndef DEFAULT_PROFILE_H |
pspatel321 | 38:8efacce315ae | 2 | #define DEFAULT_PROFILE_H |
pspatel321 | 38:8efacce315ae | 3 | |
pspatel321 | 38:8efacce315ae | 4 | #include "Profile.h" |
pspatel321 | 38:8efacce315ae | 5 | |
pspatel321 | 38:8efacce315ae | 6 | // The default flash configuration object, used as backup/failsafe in case other profiles are corrupted |
pspatel321 | 38:8efacce315ae | 7 | Profile defaultProfile = { |
pspatel321 | 38:8efacce315ae | 8 | -2, // GLV charging current limit |
pspatel321 | 38:8efacce315ae | 9 | 5, // GLV discharging current limit |
pspatel321 | 38:8efacce315ae | 10 | 1.4, // GLV battery nominal capacity (Ah) |
pspatel321 | 38:8efacce315ae | 11 | 50, // GLV battery current filter taps |
pspatel321 | 38:8efacce315ae | 12 | |
pspatel321 | 38:8efacce315ae | 13 | 1.0, // DC-DC turn-on threshold current |
pspatel321 | 38:8efacce315ae | 14 | 20, // DC-DC over current limit |
pspatel321 | 38:8efacce315ae | 15 | 1, // DC-DC start-up delay |
pspatel321 | 38:8efacce315ae | 16 | 1, // DC-DC stop delay |
pspatel321 | 38:8efacce315ae | 17 | 50, // DC-DC current filter taps |
pspatel321 | 38:8efacce315ae | 18 | |
pspatel321 | 38:8efacce315ae | 19 | 10, // IMD Latch soft-delay on startup |
pspatel321 | 38:8efacce315ae | 20 | 10, // AMS Latch soft-delay on startup |
pspatel321 | 38:8efacce315ae | 21 | 60, // Interal over-temp |
pspatel321 | 38:8efacce315ae | 22 | |
pspatel321 | 38:8efacce315ae | 23 | true, // CAN noack |
pspatel321 | 38:8efacce315ae | 24 | true, // Extended serial display |
pspatel321 | 38:8efacce315ae | 25 | |
pspatel321 | 38:8efacce315ae | 26 | CAN_TX_SIZE, // CAN tx size |
pspatel321 | 38:8efacce315ae | 27 | CAN_RX_SIZE, // CAN rx size |
pspatel321 | 38:8efacce315ae | 28 | SERIAL_BAUD, // Serial port baudrate |
pspatel321 | 38:8efacce315ae | 29 | TX_SIZE, // Serial tx buffer size |
pspatel321 | 38:8efacce315ae | 30 | XBEE_BAUD, // Xbee baudrate |
pspatel321 | 38:8efacce315ae | 31 | XBEE_TX_SIZE, // Xbee tx buffer size |
pspatel321 | 38:8efacce315ae | 32 | XBEE_RX_SIZE, // Xbee rx buffer size |
pspatel321 | 38:8efacce315ae | 33 | }; |
pspatel321 | 38:8efacce315ae | 34 | |
pspatel321 | 38:8efacce315ae | 35 | #endif |