Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP
Fork of SystemManagement by
IOobjects/CAN_TxIDs.h
- Committer:
- pspatel321
- Date:
- 2015-01-22
- Revision:
- 36:0afc0fc8f86b
- Parent:
- 33:6bc82b6b62e5
- Child:
- 38:8efacce315ae
File content as of revision 36:0afc0fc8f86b:
#ifndef CAN_TXIDS_H
#define CAN_TXIDS_H
#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
// 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
// DC-DC Converter
#define SYS_DCDC_CURRENT_ID BASE_ID + 0x20 // DC-DC current
#define SYS_DCDC_STATUS_ID BASE_ID + 0x21 // DC-DC status byte
// PWM Channels
#define SYS_PWM_FAN_ID BASE_ID + 0x30 // FAN1 actual pwm
#define SYS_PWM_PUMP_ID BASE_ID + 0x31 // PUMP1 actual pwm
// IMD
#define SYS_IMD_STATUS_ID BASE_ID + 0x40 // IMD status byte
#define SYS_IMD_RESIST_ID BASE_ID + 0x41 // IMD resistance measurement
// Latch Supervisor states
#define SYS_IMD_LATCH_ID BASE_ID + 0x50 // IMD Latch circuit error byte
#define SYS_AMS_LATCH_ID BASE_ID + 0x51 // AMS Latch circuit error byte
// Shutdown Switches
#define SYS_SWITCHES_ID BASE_ID + 0x60 // Shutdown Switch State
#endif
