91
MessengerBLE
User Guide
13
Appendix B – Data Registers
/****************************************************************************
* Defined register addresses for all data values in the system.
* These addresses are used to retrieve the respective values
* for use in computations and for updating values in channels.
*
***************************************************************************/
/*__________ System Level Internal Inputs __________*/
These values are derived internally and represent status of the named resource.
These are digital type values and value = 0 is OK, value = 1 is FAULT.
Name
Data Register
Number
Description
DATA_REG_SYS_CELL
1
Status of cell modem
DATA_REG_SYS_COMM1
2
Status of user port 1
DATA_REG_SYS_COMM2
3
Status of user port 2
DATA_REG_SYS_CAN
4
Status of CAN
DATA_REG_SYS_GPS
5
Status of GPS
DATA_REG_SYS_ACCEL
6
Status of accelerometer
DATA_REG_SYS_BLUETOOTH
7
Status of bluetooth engine
/*___________ Physical Analog Inputs ____________*/
Name
Data Register
Number
Description
DATA_REG_ADC_1
100
DATA_REG_ADC_2
101
DATA_REG_ADC_3
102
DATA_REG_ADC_VIN
103
DATA_REG_ADC_SCAP
104
DATA_REG_ADC_TEMP
105
/*_________ Physical Digital Inputs _____________*/
Name
Data Register
Number
Description
DATA_REG_DIN1
200
DATA_REG_DIN2
201
DATA_REG_DIN3
202
DATA_REG_DIN4
203
/*_________ Physical Digital Outputs ____________*/
Name
Data Register
Number
Description
DATA_REG_DOUT1
300
DATA_REG_DOUT2
301
DATA_REG_DOUT3
302