TLx493D 3D Hall Sensor Generic Library  0.2
Generic library for the TLx493D 3D Hall sensor family
Functions
sensor.h File Reference

Sensor data frame oversampling and forwarding over UART. More...

#include <stdbool.h>
#include "src/TLx493D/TLx493D.h"
#include "src/xmc1100/misc/misc.h"

Go to the source code of this file.

Functions

void GUI_UART_forwarding_start (void)
 Enable TLx493D data frame forwarding to UART. This operation does not start or stop the periodic sensor sampling.
 
void GUI_UART_forwarding_stop (void)
 Disable TLx493D data frame forwarding to UART. This operation does not start or stop the periodic sensor sampling.
 
void GUI_sensor_notify_data (void)
 Announce that there is data ready to be read from the sensor. Notify the GUI_sensor system that there is data available for reading on the sensor. This data will be read on the next GUI_sensor_handle_I2C call.
 
void GUI_sensor_handle_I2C (void)
 Handle pending I2C communications. Requests data in MCM and reads data in all active modes.
 
void GUI_sensor_handle_frame (TLx493D_data_frame_t frame)
 Handle data frame oversampling and forwarding to UART if forwarding is enabled.
 
void GUI_sensor_reset_oversample_data (void)
 Reset internal data used for oversampling.
 

Detailed Description

Sensor data frame oversampling and forwarding over UART.