Arduino API

The following classes allow the instance creation using the Arduino framework types:

TLE5012 Ino

class Tle5012Ino : public tle5012::Tle5012b

Inheritance diagram for tle5012::Tle5012Ino:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "1" [label="tle5012::Tle5012Ino" tooltip="tle5012::Tle5012Ino" fillcolor="#BFBFBF"] "2" [label="tle5012::Tle5012b" tooltip="tle5012::Tle5012b"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for tle5012::Tle5012Ino:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "4" [label="tle5012::GPIOPAL" tooltip="tle5012::GPIOPAL"] "5" [label="tle5012::Reg" tooltip="tle5012::Reg"] "6" [label="tle5012::Reg::AddressField_t" tooltip="tle5012::Reg::AddressField_t"] "3" [label="tle5012::SPICPAL" tooltip="tle5012::SPICPAL"] "1" [label="tle5012::Tle5012Ino" tooltip="tle5012::Tle5012Ino" fillcolor="#BFBFBF"] "2" [label="tle5012::Tle5012b" tooltip="tle5012::Tle5012b"] "7" [label="tle5012::Tle5012b::safetyWord" tooltip="tle5012::Tle5012b::safetyWord"] "5" -> "6" [dir=forward tooltip="usage"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "2" -> "3" [dir=forward tooltip="usage"] "2" -> "4" [dir=forward tooltip="usage"] "2" -> "5" [dir=forward tooltip="usage"] "2" -> "7" [dir=forward tooltip="usage"] }

represents the TLx5012 base class

This class provides a simple API for connecting the TLE5012B as well as the TLI5012B via SSC interface, which is included into all flavours the TLx5012 sensor. This setup works with the the Sens2Kit (Sensor including XMC1100 mcu), the breakout board (only the Sensor from the Sens2Kit) and bulk chips (read the section on how to connect the bulk chip via 3wire SPI).

See also

Tle5012

tlx5012-arduino.cpp - Arduino library for the Infineon TLx5012 magnetic angular sensor

This is a Arduino platform file use Infineon’s TLE5012B magnetic angular sensor

SPDX-License-Identifier: MIT

Author

Infineon Technologies AG

Copyright

2020-2024 Infineon Technologies AG

Version

4.0.0