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).
readMultipleRegisters.hpp File Reference
#include "../../../../config/tle5012-conf.hpp"
#include <stdlib.h>
#include <wiced.h>
#include <TLE5012-platf-wiced.hpp>
#include <TLE5012-pal-wiced.hpp>
#include <TLE5012b.hpp>
#include "wiced_rtos.h"
Include dependency graph for readMultipleRegisters.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

readMultipleRegisters

Demostrates how to read multiple registers

Author
Infineon Technologies AG
Version
3.1.0

This example demonstrates how to read multiple raw registers at once. In this case you have to recalculate values like angle, angle speed etc. be your self.

the read command offset of 0x8000 will be set by the readMoreRegisters command so we need only the register offset from where we start and the second digit is how many consecutive registers to read which is be done by adding the length and the command values. A max of 15 value can read at once, one additional value is reserved for the safety bit.

SPDX-License-Identifier: MIT

void application_start ()
 

Function Documentation

◆ application_start()

void application_start ( )