System Management code

Dependencies:   mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP

Fork of SystemManagement by Martin Deng

IOobjects/CAN_TxIDs.h

Committer:
pspatel321
Date:
2014-11-14
Revision:
31:7eaa5e881b56
Parent:
30:91af74a299e1
Child:
33:6bc82b6b62e5

File content as of revision 31:7eaa5e881b56:

#ifndef CAN_TXIDS_H
#define CAN_TXIDS_H

// Transmit IDs - System Mgmt Specific
// Operating diagnostics
#define SYS_ERROR_ID            0x400       // Error frame - critical errors that require shutdown
#define SYS_XBEE1_ID            0x401       // Message in/out counter for xbee1
#define SYS_XBEE2_ID            0x402       // Message in/out counter for xbee2
#define SYS_TEMP_ID             0x403       // Internal temperature of the glv battery chargerFET

// GLV Battery
#define SYS_GLV_CURRENT_ID      0x410       // GLV battery current
#define SYS_GLV_CAPACITY_ID     0x411       // GLV battery capacity setting
#define SYS_GLV_AH_ID           0x412       // GLV battery amphours
#define SYS_GLV_SOC_ID          0x413       // GLV battery SOC

// DC-DC Converter
#define SYS_DCDC_CURRENT_ID     0x420       // DC-DC current 
#define SYS_DCDC_STATUS_ID      0x421       // DC-DC status byte

// PWM Channels
#define SYS_PWM_FAN_ID          0x430       // FAN1 actual pwm
#define SYS_PWM_PUMP_ID         0x431       // PUMP1 actual pwm

// IMD
#define SYS_IMD_STATUS_ID       0x440       // IMD status byte
#define SYS_IMD_RESIST_ID       0x441       // IMD resistance measurement

// Latch Supervisor states
#define SYS_IMD_LATCH_ID        0x450       // IMD Latch circuit error byte
#define SYS_AMS_LATCH_ID        0x451       // AMS Latch circuit error byte

// Shutdown Switches
#define SYS_SWITCHES_ID         0x460       // Shutdown Switch State

#endif