
SP37
Tire Pressure Monitoring Sensor
ROM Library Functions
ROM Library Function Guide
101
Revision 1.0, 2011-12-15
2.28
FW_Revision_Nb()
2.28.1
Description
This function returns the ROM Library revision number and the FLASH Library revision number.
2.28.2
Actions
•
Read 2-byte Revision Number from ROM and return it
•
Read 2-byte Revision Number from FLASH Library and return it
2.28.3
Prototype
void
FW_Revision_Nb
(unsigned int idata *
ROM_Rev
, unsigned int idata *
Lib_Rev
)
2.28.4
Inputs
2.28.5
Outputs
Table 121
FW_Revision_Nb: Input Parameters
Register/ Address
Type
Name
Description
R4(MSB),
R5(LSB)
unsigned int
idata*
Lib_Rev
Pointer to the RAM location where the FLASH
Library code revision will be returned
R6(MSB),
R7(LSB)
unsigned int
idata*
ROM_Rev
Pointer to the RAM location where the ROM
code revision will be returned
Table 122
FW_Revision_Nb: Input Parameters
Register/ Address
Type
Name
Description
R4(MSB),
R5(LSB)
unsigned int
idata*
Lib_Rev
Pointer to the RAM location where the FLASH
Library code revision will be returned
xxxx
H
= SP37 FLASH Library version
R6(MSB),
R7(LSB)
unsigned int
idata*
ROM_Rev
Pointer to the RAM location where the ROM
code revision will be returned
0A32
H
= SP37 ROM Library Version A5