LibDriver MLX90614  1.0.0
MLX90614 full-featured driver
mlx90614 extern driver function

mlx90614 extern driver modules More...

Functions

uint8_t mlx90614_set_reg (mlx90614_handle_t *handle, uint8_t reg, uint16_t data)
 set the chip register More...
 
uint8_t mlx90614_get_reg (mlx90614_handle_t *handle, uint8_t reg, uint16_t *data)
 get the chip register More...
 

Detailed Description

mlx90614 extern driver modules

Function Documentation

◆ mlx90614_get_reg()

uint8_t mlx90614_get_reg ( mlx90614_handle_t handle,
uint8_t  reg,
uint16_t *  data 
)

get the chip register

Parameters
[in]*handlepointer to an mlx90614 handle structure
[in]regiic register address
[out]*datapointer to a data buffer
Returns
status code
  • 0 success
  • 1 read failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1701 of file driver_mlx90614.c.

◆ mlx90614_set_reg()

uint8_t mlx90614_set_reg ( mlx90614_handle_t handle,
uint8_t  reg,
uint16_t  data 
)

set the chip register

Parameters
[in]*handlepointer to an mlx90614 handle structure
[in]regiic register address
[in]datawritten data
Returns
status code
  • 0 success
  • 1 write failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1675 of file driver_mlx90614.c.