
SP37
Tire Pressure Monitoring Sensor
ROM Library Functions
ROM Library Function Guide
73
Revision 1.0, 2011-12-15
2.14
ThermalShutdown()
2.14.1
Description
This function forces the device to THERMAL SHUTDOWN state.
The application should call this function whenever the ambient temperature is close to the maximum operating
range (this can be detected by using
) to protect the device while the ambient temperature
is above the specified operating conditions.
If this function is called when the temperature is below the TMAX threshold, the function will return without any
action and the application program will continue uninterrupted. If the temperature is above the TMAX threshold,
the TMAX threshold will be reduced (software hysteresis) and the THERMAL SHUTDOWN state is entered.
2.14.2
Actions
•
Turn on the TMAX Detector
•
Enter THERMAL SHUTDOWN state with hysteresis if TMAX Detector is set.
2.14.3
Prototype
void
ThermalShutdown
(void)
2.14.4
Inputs
2.14.5
Outputs
2.14.6
Resource Usage
Table 66
ThermalShutdown: Input Parameters
Register / Address
Type
Name
Description
None
---
---
---
Table 67
ThermalShutdown: Output values
Register/ Address
Type
Name
Description
None
---
---
---
Table 68
ThermalShutdown: Resources
Type
Used or Modified
Registers
R7
SFR
ACC, CFG0, DPH, DPL, PSW
Stack
0 Bytes
1)
1) Two additional bytes, not included here, are needed to call the library function