LibDriver MLX90614
Loading...
Searching...
No Matches
mlx90614 driver function

mlx90614 driver modules More...

Collaboration diagram for mlx90614 driver function:

Topics

 mlx90614 basic driver function
 mlx90614 basic driver modules
 mlx90614 advance driver function
 mlx90614 advance driver modules
 mlx90614 extern driver function
 mlx90614 extern driver modules
 mlx90614 interface driver function
 mlx90614 interface driver modules
 mlx90614 example driver function
 mlx90614 example driver modules
 mlx90614 test driver function
 mlx90614 test driver modules

Functions

uint8_t mlx90614_write_addr (mlx90614_handle_t *handle, uint8_t addr)
 write the address
uint8_t mlx90614_read_addr (mlx90614_handle_t *handle, uint8_t *addr)
 read the address

Detailed Description

mlx90614 driver modules

Function Documentation

◆ mlx90614_read_addr()

uint8_t mlx90614_read_addr ( mlx90614_handle_t * handle,
uint8_t * addr )

read the address

Parameters
[in]*handlepointer to an mlx90614 handle structure
[out]*addrpointer to an iic address buffer
Returns
status code
  • 0 success
  • 1 read addr failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 335 of file driver_mlx90614.c.

◆ mlx90614_write_addr()

uint8_t mlx90614_write_addr ( mlx90614_handle_t * handle,
uint8_t addr )

write the address

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

Definition at line 289 of file driver_mlx90614.c.