70 TLx493D_TYPE_TLV_A1B6,
71 TLx493D_TYPE_TLE_A2B6,
72 TLx493D_TYPE_TLE_W2B6,
78 TLx493D_OP_MODE_NOT_INITIALIZED,
79 TLx493D_OP_MODE_POWER_DOWN,
82 TLx493D_OP_MODE_LOW_POWER,
83 TLx493D_OP_MODE_ULTRA_LOW_POWER,
116 #endif //_TLV493D__H_ int32_t TLx493D_set_operation_mode(TLV493D_op_mode_t mode)
Set the operation mode of the sensors, if supported.
Definition: TLx493D.c:120
uint8_t MISC_get_parity(uint8_t data)
Compute the EVEN parity of a byte of data.
Definition: TLx493D.c:150
TLV493D_op_mode_t TLx493D_get_operation_mode()
Get the operation mode of the sensors.
Definition: TLx493D.c:136
int16_t y
Magnetic field intensity raw value on the Y axis.
Definition: TLx493D.h:43
The WU feature failed to activate; unknown error.
Definition: TLx493D.h:63
int32_t TLx493D_read_frame(TLx493D_data_frame_t *frame)
Read a data frame from the sensor.
Definition: TLx493D.c:141
The called method has not been implemented yet.
Definition: TLx493D.h:59
No error encountered.
Definition: TLx493D.h:53
Function called with invalid argument.
Definition: TLx493D.h:55
int16_t temp
Raw Temperature value.
Definition: TLx493D.h:47
TLV493D_sensor_type_t
Type of sensor on board.
Definition: TLx493D.h:68
int16_t x
Magnetic field intensity raw value on the X axis.
Definition: TLx493D.h:41
TLV493D_sensor_type_t TLx493D_get_sensor_type(void)
Return the type of sensor present on the board.
Definition: TLx493D.c:115
One or mode sensor registers are set incorrectly.
Definition: TLx493D.h:61
Generic data frame, common to all supported hardware version.
Definition: TLx493D.h:39
int16_t z
Magnetic field intensity raw value on the Z axis.
Definition: TLx493D.h:45
TLV493D_op_mode_t
Operating Mode.
Definition: TLx493D.h:77
The returned frame is invalid and should be discarded.
Definition: TLx493D.h:57
int32_t TLx493D_init(void)
Detect and initialize the connected sensor.
Definition: TLx493D.c:45