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
Table 113
Read_ID: Input Parameters
Register / Address
R7
2.26.5
Outputs
Table 114
Read_ID: Input Parameters
Register / Address
R7
1) For definition "Green Package" please refer to
ROM Library Function Guide
Type
Name
idata*
ID_Result
Type
Name
idata*
ID_Result
[1]
Tire Pressure Monitoring Sensor
Description
Pointer to a structure according to the following
definition:
idata struct ID_Struct {unsigned long ID;
unsigned char ProdCode;}
Description
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
: reserved
B
xxxx.x100
: reserved
B
xxxx.x001
: reserved
B
xxxx.x101
: 500/900 kPa, Autorange, Green
B
1)
Package
xxxx.xx10
: reserved
B
xxxx.xx11
: reserved
B
97
SP37
ROM Library Functions
Revision 1.0, 2011-12-15