Actions; Prototype; Inputs; Table 153 Getcompvalue: Input Parameters - 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.36.2

Actions

Compare Value1 with defined thresholds from threshold type 1
Compare Value2 with defined thresholds from threshold type 2
Return compensated value
2.36.3

Prototype

unsigned char GetCompValue(unsigned char code * TablePointer, unsigned char Value1, unsigned char
Value2)
2.36.4

Inputs

Table 153
GetCompValue: Input Parameters
Register / Address
R6 (MSB)
R7 (LSB)
R5
R3
Figure 15
shows how the compensated value table must appear in FLASH memory.
ROM Library Function Guide
Type
Name
unsigned char
TablePointer
code*
unsigned char Value1
unsigned char Value2
Tire Pressure Monitoring Sensor
Description
Pointer to the first Byte of lookup table
Measured Value1 for comparison with
thresholds from threshold type 1 to select
column
Measured Value2 for comparison with
thresholds from threshold type 2 to select row
118
SP37
ROM Library Functions
Revision 1.0, 2011-12-15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents