
SP37
Tire Pressure Monitoring Sensor
ROM Library Functions
ROM Library Function Guide
114
Revision 1.0, 2011-12-15
2.34.6
Resource Usage
2.34.7
Execution Information
2.34.8
Code Example
Figure 13 “Code example for usage of the functions ECC_Check() and CRC16_Check()” on Page 112
Table 147
CRC16_Check: Resources
Type
Used or Modified
Registers
R4, R5, R6, R7
SFR
ACC, B, CRC0, CRC1, CRCD, DPH, DPL, PSW
Stack
0 Bytes
1)
1) Two additional bytes, not included here, are needed to call the library function
Table 148
CRC16_Check: Execution Time and Charge Consumption
Parameter
Symbol
Values
Unit
Note / Test Condition
Min.
Typ.
Max.
Execution Time
t
–
22 + x*8 24 + x*9 µs
DIVIC = 00
H
, x is the number of bytes
Charge Consumption
Q
–
0,033 +
x*0,012
0,056 +
x*0,020
µC
DIVIC = 00
H
, x is the number of bytes