TLx493D 3D Hall Sensor Generic Library  1.2.1234
Generic library for the TLx493D 3D Hall sensor family
TLx493D_defines.h
1 /*
2  * TLV493D_defines.h
3  *
4  * Created on: Sep 6, 2018
5  * Author: nicolaem
6  */
7 
8 #ifndef SRC_TLX493D_TLX493D_DEFINES_H_
9 #define SRC_TLX493D_TLX493D_DEFINES_H_
10 
11 #include <stdint.h>
12 
13 /* Type of sensor on board */
14 typedef enum {
15  TLx493D_TYPE_UNKNOWN,
16  TLx493D_TYPE_TLV_A1B6,
17  TLx493D_TYPE_TLE_A2B6,
18  TLx493D_TYPE_TLE_W2B6
19 } TLV493D_sensor_type_t;
20 
21 /* Operating Mode*/
22 typedef enum {
23  TLx493D_OP_MODE_NOT_INITIALIZED,
24  TLx493D_OP_MODE_POWER_DOWN,
25  TLx493D_OP_MODE_MCM,
26  TLx493D_OP_MODE_FAST,
27  TLx493D_OP_MODE_LOW_POWER,
28  TLx493D_OP_MODE_ULTRA_LOW_POWER,
29 } TLV493D_op_mode_t;
30 
31 #endif /* SRC_TLX493D_TLX493D_DEFINES_H_ */