![]() |
LibDriver MLX90614
1.0.0
MLX90614 full-featured driver
|
mlx90614 basic driver modules More...
Data Structures | |
struct | mlx90614_handle_s |
mlx90614 handle structure definition More... | |
struct | mlx90614_info_s |
mlx90614 information structure definition More... | |
Typedefs | |
typedef struct mlx90614_handle_s | mlx90614_handle_t |
mlx90614 handle structure definition More... | |
typedef struct mlx90614_info_s | mlx90614_info_t |
mlx90614 information structure definition More... | |
Enumerations | |
enum | mlx90614_address_t { MLX90614_ADDRESS_DEFAULT = 0xB4 } |
mlx90614 address enumeration definition More... | |
Functions | |
uint8_t | mlx90614_info (mlx90614_info_t *info) |
get chip information More... | |
uint8_t | mlx90614_set_addr (mlx90614_handle_t *handle, uint8_t addr) |
set the address More... | |
uint8_t | mlx90614_get_addr (mlx90614_handle_t *handle, uint8_t *addr) |
get the address More... | |
uint8_t | mlx90614_init (mlx90614_handle_t *handle) |
initialize the chip More... | |
uint8_t | mlx90614_deinit (mlx90614_handle_t *handle) |
close the chip More... | |
uint8_t | mlx90614_read_object1 (mlx90614_handle_t *handle, uint16_t *raw, float *celsius) |
read the object1 More... | |
uint8_t | mlx90614_read_object2 (mlx90614_handle_t *handle, uint16_t *raw, float *celsius) |
read the object2 More... | |
uint8_t | mlx90614_read_raw_ir_channel (mlx90614_handle_t *handle, uint16_t *channel_1, uint16_t *channel_2) |
read the ir channel raw data More... | |
uint8_t | mlx90614_read_ambient (mlx90614_handle_t *handle, uint16_t *raw, float *celsius) |
read the ambient More... | |
mlx90614 basic driver modules
typedef struct mlx90614_handle_s mlx90614_handle_t |
mlx90614 handle structure definition
typedef struct mlx90614_info_s mlx90614_info_t |
mlx90614 information structure definition
enum mlx90614_address_t |
mlx90614 address enumeration definition
Enumerator | |
---|---|
MLX90614_ADDRESS_DEFAULT | default address |
Definition at line 62 of file driver_mlx90614.h.
uint8_t mlx90614_deinit | ( | mlx90614_handle_t * | handle | ) |
close the chip
[in] | *handle | pointer to an mlx90614 handle structure |
Definition at line 1638 of file driver_mlx90614.c.
uint8_t mlx90614_get_addr | ( | mlx90614_handle_t * | handle, |
uint8_t * | addr | ||
) |
get the address
[in] | *handle | pointer to an mlx90614 handle structure |
[out] | *addr | pointer to an iic address buffer |
Definition at line 266 of file driver_mlx90614.c.
uint8_t mlx90614_info | ( | mlx90614_info_t * | info | ) |
get chip information
[out] | *info | pointer to an mlx90614 info structure |
Definition at line 1723 of file driver_mlx90614.c.
uint8_t mlx90614_init | ( | mlx90614_handle_t * | handle | ) |
initialize the chip
[in] | *handle | pointer to an mlx90614 handle structure |
Definition at line 1564 of file driver_mlx90614.c.
uint8_t mlx90614_read_ambient | ( | mlx90614_handle_t * | handle, |
uint16_t * | raw, | ||
float * | celsius | ||
) |
read the ambient
[in] | *handle | pointer to an mlx90614 handle structure |
[out] | *raw | pointer to a raw data buffer |
[out] | *celsius | pointer to a celsius data buffer |
Definition at line 1215 of file driver_mlx90614.c.
uint8_t mlx90614_read_object1 | ( | mlx90614_handle_t * | handle, |
uint16_t * | raw, | ||
float * | celsius | ||
) |
read the object1
[in] | *handle | pointer to an mlx90614 handle structure |
[out] | *raw | pointer to a raw data buffer |
[out] | *celsius | pointer to a celsius data buffer |
Definition at line 1253 of file driver_mlx90614.c.
uint8_t mlx90614_read_object2 | ( | mlx90614_handle_t * | handle, |
uint16_t * | raw, | ||
float * | celsius | ||
) |
read the object2
[in] | *handle | pointer to an mlx90614 handle structure |
[out] | *raw | pointer to a raw data buffer |
[out] | *celsius | pointer to a celsius data buffer |
Definition at line 1297 of file driver_mlx90614.c.
uint8_t mlx90614_read_raw_ir_channel | ( | mlx90614_handle_t * | handle, |
uint16_t * | channel_1, | ||
uint16_t * | channel_2 | ||
) |
read the ir channel raw data
[in] | *handle | pointer to an mlx90614 handle structure |
[out] | *channel_1 | pointer to a channel 1 raw data buffer |
[out] | *channel_2 | pointer to a channel 2 raw data buffer |
Definition at line 1172 of file driver_mlx90614.c.
uint8_t mlx90614_set_addr | ( | mlx90614_handle_t * | handle, |
uint8_t | addr | ||
) |
set the address
[in] | *handle | pointer to an mlx90614 handle structure |
[in] | addr | iic address |
Definition at line 245 of file driver_mlx90614.c.