Raw_Temperature(); 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.6

Raw_Temperature()

2.6.1

Description

This function performs a raw temperature measurement. The Raw Temperature result is uncompensated and may
be used as input for Meas_Sensor(), Meas_Pressure(),
2.6.2

Actions

Measures the temperature sensor with 2 ADC samples for averaging (arithmetic mean)
2.6.3

Prototype

unsigned char Raw_Temperature ( signed int idata * TempResult )
2.6.4

Inputs

Table 34
Raw_Temperature: Input Parameters
Register / Address
R7
2.6.5

Outputs

Table 35
Raw_Temperature: Output values
Register/ Address
R7
*Temp_Result+0
ROM Library Function Guide
Type
Name
signed int
TempResult
idata*
Type
Name
unsigned char StatusByte
signed int
Raw Temperature
Tire Pressure Monitoring Sensor
Meas_Acceleration()
Description
Pointer to an integer array in RAM to receive the
measurement result
Description
0000.0000
: Success
B
xxxx.xxx1
: Underflow of ADC Result
B
xxxx.xx1x
: Overflow of ADC Result
B
xxx1.xxxx
: VMIN warning
B
16 Bit scaled signed ADC Result Value
54
ROM Library Functions
and Comp_Temperature().
Revision 1.0, 2011-12-15
SP37

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents