System Management code
Dependencies: mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP
Fork of SystemManagement by
Diff: IOobjects/CAN_TxIDs.h
- Revision:
- 38:8efacce315ae
- Parent:
- 36:0afc0fc8f86b
- Child:
- 39:ddf38df9699e
--- a/IOobjects/CAN_TxIDs.h Thu Jan 22 07:59:48 2015 +0000 +++ b/IOobjects/CAN_TxIDs.h Sat Feb 07 08:54:51 2015 +0000 @@ -1,20 +1,27 @@ #ifndef CAN_TXIDS_H #define CAN_TXIDS_H -#define BASE_ID 0x500 // Start at 0x500 for this device +#define BASE_ID 0x500 // Start at 0x500 for this device // Transmit IDs - System Mgmt Specific // Operating diagnostics #define SYS_ERROR_ID BASE_ID + 0x00 // Error frame - critical errors that require shutdown -#define SYS_XBEE1_ID BASE_ID + 0x01 // Message in/out counter for xbee1 -#define SYS_XBEE2_ID BASE_ID + 0x02 // Message in/out counter for xbee2 -#define SYS_TEMP_ID BASE_ID + 0x03 // Internal temperature of the glv battery chargerFET +#define SYS_MODE_ID BASE_ID + 0x01 // Operating mode +#define SYS_FLAGS_ID BASE_ID + 0x02 // Signals +#define SYS_PROFILE_ID BASE_ID + 0x03 // Profile being used +#define SYS_TIME_ID BASE_ID + 0x04 // SysTime and startup time +#define SYS_XBEE1_MSG_ID BASE_ID + 0x05 // Message in/out counter for xbee1 +#define SYS_XBEE1_RATE_ID BASE_ID + 0x06 // Message in/out counter for xbee1 +#define SYS_XBEE2_MSG_ID BASE_ID + 0x07 // Message in/out counter for xbee2 +#define SYS_XBEE2_RATE_ID BASE_ID + 0x08 // Message in/out counter for xbee2 +#define SYS_TEMP_ID BASE_ID + 0x09 // Internal temperature of the glv battery chargerFET // GLV Battery #define SYS_GLV_CURRENT_ID BASE_ID + 0x10 // GLV battery current #define SYS_GLV_CAPACITY_ID BASE_ID + 0x11 // GLV battery capacity setting #define SYS_GLV_AH_ID BASE_ID + 0x12 // GLV battery amphours #define SYS_GLV_SOC_ID BASE_ID + 0x13 // GLV battery SOC +#define SYS_GLV_ERROR_ID BASE_ID + 0x14 // GLV battery error byte // DC-DC Converter #define SYS_DCDC_CURRENT_ID BASE_ID + 0x20 // DC-DC current