LibDriver AMG8833
Loading...
Searching...
No Matches
amg8833 extern driver function

amg8833 extern driver modules More...

Collaboration diagram for amg8833 extern driver function:

Functions

uint8_t amg8833_set_reg (amg8833_handle_t *handle, uint8_t reg, uint8_t *buf, uint16_t len)
 set the chip register
uint8_t amg8833_get_reg (amg8833_handle_t *handle, uint8_t reg, uint8_t *buf, uint16_t len)
 get the chip register

Detailed Description

amg8833 extern driver modules

Function Documentation

◆ amg8833_get_reg()

uint8_t amg8833_get_reg ( amg8833_handle_t * handle,
uint8_t reg,
uint8_t * buf,
uint16_t len )

get the chip register

Parameters
[in]*handlepointer to an amg8833 handle structure
[in]regregister address
[out]*bufpointer to a data buffer
[in]lendata buffer length
Returns
status code
  • 0 success
  • 1 read failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1470 of file driver_amg8833.c.

◆ amg8833_set_reg()

uint8_t amg8833_set_reg ( amg8833_handle_t * handle,
uint8_t reg,
uint8_t * buf,
uint16_t len )

set the chip register

Parameters
[in]*handlepointer to an amg8833 handle structure
[in]regregister address
[in]*bufpointer to a data buffer
[in]lendata buffer length
Returns
status code
  • 0 success
  • 1 write failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1443 of file driver_amg8833.c.