TLx493D 3D Hall Sensor Generic Library  0.2
Generic library for the TLx493D 3D Hall sensor family
sensor.h
Go to the documentation of this file.
1 /*
2  * TLx493D.h
3  *
4  * Created on: Sep 21, 2018
5  * Author: nicolaem
6  */
7 
12 #ifndef SRC_GUI_SENSOR_SENSOR_H_
13 #define SRC_GUI_SENSOR_SENSOR_H_
14 
15 #include <stdbool.h>
16 #include "src/TLx493D/TLx493D.h"
17 #include "src/xmc1100/misc/misc.h"
18 
21 void GUI_UART_forwarding_start(void);
22 
25 void GUI_UART_forwarding_stop(void);
26 
31 void GUI_sensor_notify_data(void);
32 
36 void GUI_sensor_handle_I2C(void);
37 
41 
44 
45 #endif /* SRC_GUI_SENSOR_SENSOR_H_ */
void GUI_sensor_reset_oversample_data(void)
Reset internal data used for oversampling.
Definition: sensor.c:230
void GUI_UART_forwarding_stop(void)
Disable TLx493D data frame forwarding to UART. This operation does not start or stop the periodic sen...
Definition: sensor.c:184
Miscellaneous functions.
void GUI_sensor_handle_frame(TLx493D_data_frame_t frame)
Handle data frame oversampling and forwarding to UART if forwarding is enabled.
Definition: sensor.c:215
void GUI_sensor_handle_I2C(void)
Handle pending I2C communications. Requests data in MCM and reads data in all active modes...
Definition: sensor.c:195
void GUI_UART_forwarding_start(void)
Enable TLx493D data frame forwarding to UART. This operation does not start or stop the periodic sens...
Definition: sensor.c:174
Generic data frame, common to all supported hardware version.
Definition: TLx493D.h:28
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...
Definition: sensor.c:190
TLx 3D Hall Sensor Family Abstraction.