EasyManua.ls Logo

Infineon SP37 - Stopxtalosc(); Description; Actions; Prototype

Infineon SP37
135 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SP37
Tire Pressure Monitoring Sensor
ROM Library Functions
ROM Library Function Guide 77 Revision 1.0, 2011-12-15
2.16 StopXtalOsc()
2.16.1 Description
This function disables the crystal oscillator clock if no other peripherals are using it. Therefore, peripherals using
the crystal oscillator should be disabled prior to calling this function.
2.16.2 Actions
• Attempt to disable the crystal oscillator clock.
2.16.3 Prototype
signed char StopXtalOsc(void)
2.16.4 Inputs
2.16.5 Outputs
2.16.6 Resource Usage
Table 74 StopXtalOsc: Input Parameters
Register / Address Type Name Description
None --- --- ---
Table 75 StopXtalOsc: Output values
Register/Address Type Name Description
R7 signed char StatusByte StatusByte:
0: XTAL stopped
-1: XTAL already off (no action)
-2: XTAL not stopped because it is still needed (e.g. due to
an ongoing RF transmission)
Table 76 StopXtalOsc: Resources
Type Used or Modified
Registers R7
SFR ACC,B, CFG0, DPTR, PSW, RFS, TMOD
Stack 0 Bytes
1)
1) Two additional bytes, not included here, are needed to call the library function

Table of Contents