2.26.6
Resource Usage
Table 115
Read_ID: Resources
Type
Registers
SFR
Stack
1) Two additional bytes, not included here, are needed to call the library function
2.26.7
Execution Information
Table 116
Read_ID: Execution Time and Charge Consumption
Parameter
Execution Time
Charge Consumption
2.26.8
Code Example
// Library function prototypes
#include "SP37_ROMLibrary.h"
// ID structure is defined in SP37_ROMLibrary.h
idata ID_Struct ID_Result;
void main()
{
// Read Sensor ID function call
Read_ID(&ID_Result);
}
Figure 12
Code example for usage of Read_ID()
ROM Library Function Guide
Used or Modified
R0, R3, R4, R5, R6, R7
ACC, DPH, DPL, PSW
1)
2 Bytes
Symbol
Values
Min.
Typ.
t
–
32
Q
–
0,048
Tire Pressure Monitoring Sensor
Unit
Note / Test Condition
Max.
35
µs
DIVIC = 00
0,082
µC
DIVIC = 00
98
ROM Library Functions
H
H
Revision 1.0, 2011-12-15
SP37