
SP37
Tire Pressure Monitoring Sensor
ROM Library Functions
ROM Library Function Guide
97
Revision 1.0, 2011-12-15
2.26
Read_ID()
2.26.1
Description
This function returns the unique serial number of the device and a product description code.
2.26.2
Actions
•
Read 4-byte ID
•
Read 1 byte product code
2.26.3
Prototype
void
Read_ID
(struct ID_Struct idata * idata
ID_Result
)
Note: Structure ID_Struct is defined in SP37_ROMLibrary.h
2.26.4
Inputs
2.26.5
Outputs
Table 113
Read_ID: Input Parameters
Register / Address
Type
Name
Description
R7
idata*
ID_Result
Pointer to a structure according to the following
definition:
idata struct ID_Struct {unsigned long ID;
unsigned char ProdCode;}
Table 114
Read_ID: Input Parameters
Register / Address
Type
Name
Description
R7
idata*
ID_Result
Pointer to a structure according to the following
definition:
idata struct ID_Struct {unsigned long ID;
unsigned char ProdCode;}
Product Code pressure range indication:
xxxx.x000
B
: reserved
xxxx.x100
B
: reserved
xxxx.x001
B
: reserved
xxxx.x101
B
: 500/900 kPa, Autorange, Green
Package
1)
xxxx.xx10
B
: reserved
xxxx.xx11
B
: reserved
1) For definition “Green Package” please refer to