TLE5012B  3.1.0
The TLE5012B is a pre-calibrated 360° angle sensor that detects the orientation of a magnetic field. The raw signals (sine and cosine) are digitally processed internally to calculate the angle orientation of the magnetic field (magnet).
sensorRegisters.cpp File Reference
Include dependency graph for sensorRegisters.cpp:

sensorRegisters

Reads all sensor registers and reports there status

Author
Infineon Technologies AG
Version
3.1.0

This example program will read all documented registers from the sensor and writes this to the serial port with remark info for each register. Please have look to the sensor manual for more and more detailed information about each register.

SPDX-License-Identifier: MIT

Tle5012Wiced Tle5012Sensor = Tle5012Wiced()
 
errorTypes checkError = NO_ERROR
 
void show_bin ()
 Function prints the binary code of each documented register. More...
 
void show_STAT ()
 
void show_ACSTAT ()
 
void show_MAINA ()
 
void show_MOD1 ()
 
void show_SIL ()
 
void show_MOD2 ()
 
void show_MOD3 ()
 
void show_OFFSETS ()
 
void show_IFAB ()
 
void show_MOD4 ()
 
void show_TCOTY ()
 
void show_ADC ()
 
void setup ()
 
void loop ()
 
void application_start ()
 

Function Documentation

◆ show_bin()

void show_bin ( )

Function prints the binary code of each documented register.

◆ show_STAT()

void show_STAT ( )
Here is the call graph for this function:

◆ show_ACSTAT()

void show_ACSTAT ( )
Here is the call graph for this function:

◆ show_MAINA()

void show_MAINA ( )
Here is the call graph for this function:

◆ show_MOD1()

void show_MOD1 ( )
Here is the call graph for this function:

◆ show_SIL()

void show_SIL ( )
Here is the call graph for this function:

◆ show_MOD2()

void show_MOD2 ( )
Here is the call graph for this function:

◆ show_MOD3()

void show_MOD3 ( )
Here is the call graph for this function:

◆ show_OFFSETS()

void show_OFFSETS ( )
Here is the call graph for this function:

◆ show_IFAB()

void show_IFAB ( )
Here is the call graph for this function:

◆ show_MOD4()

void show_MOD4 ( )
Here is the call graph for this function:

◆ show_TCOTY()

void show_TCOTY ( )
Here is the call graph for this function:

◆ show_ADC()

void show_ADC ( )
Here is the call graph for this function:

◆ setup()

void setup ( )
Here is the call graph for this function:

◆ loop()

void loop ( )

◆ application_start()

void application_start ( )
Here is the call graph for this function:

Variable Documentation

◆ Tle5012Sensor

Tle5012Wiced Tle5012Sensor = Tle5012Wiced()

◆ checkError

errorTypes checkError = NO_ERROR