![]() |
TLx493D 3D Hall Sensor Generic Library
1.3
Generic library for the TLx493D 3D Hall sensor family
|
GPIO based functions for controlling the power supply and ADDR pin state of the sensor. More...
#include <stdbool.h>
Go to the source code of this file.
Functions | |
void | GPIO_sensor_supply (bool on) |
Set the sensor supply voltage and the discrete I2C bus pull-up resistors voltage HIGH or LOW. | |
void | GPIO_set_addr_wait (bool high) |
Configure the ADDR pin logical level at startup. More... | |
GPIO based functions for controlling the power supply and ADDR pin state of the sensor.
void GPIO_set_addr_wait | ( | bool | high | ) |
Configure the ADDR pin logical level at startup.
(Necessary for TLV493D-A1B6 sensor only!) Set the ADDR(SDA) I2C pin HIGH or LOW and wait for the sensor startup. Finally, set ADDR to HIGH. Must be called right after the sensor power-up.