
Firmware Functions
FXTH87xx11 and FXTH87xx12 Embedded Firmware User Guide, Rev. 2.1
Freescale Semiconductor, Inc.
37
3.2.36
UINT16 TPMS_SQUARE_ROOT(UINT16 u16Process)
•
Description:
Calculates a two-digit remainder of (square root * 10) using a fast algorithm.
•
Stack size:
49 bytes
•
Approx. Duration:
365 usec
•
Power Management:
This function executes entirely in RUN mode.
•
Interrupt Management:
This function does not await any interrupts. It will not be affected by
interrupts.
•
Resources:
N/A
•
Input Parameters:
— UINT16 u16Process: The number from which to get the square root from.
•
Returns
:
— UINT16 Root of the number * 10.
3.2.37
void TPMS_READ_ID(UINT8 *u8Code)
•
Description:
Copies the device’s UniqueID and firmware version stored in firmware flash to
RAM.
•
Stack size:
2 bytes
•
Approx. Duration:
32 usec
•
Power Management:
This function executes entirely in RUN mode.
•
Interrupt Management:
This function does not await any interrupts. It will not be affected by
interrupts.
•
Resources:
N/A
•
Input Parameters:
— UINT8 *u8Code: RAM location where data will be copied.
describes the format of
the 6-bytes returned.
•
Returns
:
— void
Table 26. u8Code format
Index
Description
0
Firmware version.
1
Derivative descriptor.
2:5
32-bit UniqueID.