Wait100Usmultiples(); Description; Actions; Prototype - Infineon SP37 Function Manual

High integrated single-chip tpms sensor with a low power embedded microcontroller and wireless fsk/ask uhf transmitter
Table of Contents

Advertisement

2.37

Wait100usMultiples()

2.37.1

Description

This function performs a delay of 100 µs multiples. It clears the CPU clock divider SFR DIVIC, initializes the timers
according to the delay time, and uses IDLE state during the delay time. In case an unexpected resume event
occurs, the IDLE state will be left and the function remain in RUN state until the delay is elapsed. The total duration
of the delay can be determined by an offset time of 28 µs plus the multiplication of the input parameter value with
100µs. The maximum delay time is limited in practice by the watchdog timer, which may be reset by the application
prior to the function call.
2.37.2

Actions

Set SFR DIVIC = 00
Configure timers according to the delay time
Enter IDLE state
Delay until timer is elapsed
2.37.3

Prototype

void Wait100usMultiples(unsigned int Counter)
2.37.4

Inputs

Table 157
Wait100usMultiples: Input Parameters
Register / Address
R6 (MSB)
R7 (LSB)
2.37.5

Outputs

Table 158
Wait100usMultiples: Output values
Register/Address
ROM Library Function Guide
B
Type
Name
unsigned int
Counter
Type
Name
Tire Pressure Monitoring Sensor
Description
Number of 100µs multiples. Duration[µs] =
Counter x 100µs
Description
121
SP37
ROM Library Functions
Revision 1.0, 2011-12-15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents