LibDriver AHT10
Loading...
Searching...
No Matches
aht10 extend driver function

aht10 extend driver modules More...

Collaboration diagram for aht10 extend driver function:

Functions

uint8_t aht10_set_reg (aht10_handle_t *handle, uint8_t *buf, uint16_t len)
 set the chip register
uint8_t aht10_get_reg (aht10_handle_t *handle, uint8_t *buf, uint16_t len)
 get the chip register

Detailed Description

aht10 extend driver modules

Function Documentation

◆ aht10_get_reg()

uint8_t aht10_get_reg ( aht10_handle_t * handle,
uint8_t * buf,
uint16_t len )

get the chip register

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

Definition at line 463 of file driver_aht10.c.

◆ aht10_set_reg()

uint8_t aht10_set_reg ( aht10_handle_t * handle,
uint8_t * buf,
uint16_t len )

set the chip register

Parameters
[in]*handlepointer to an aht10 handle structure
[in]*bufpointer to a data buffer
[in]lenlength of data buffer
Returns
status code
  • 0 success
  • 1 write failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 430 of file driver_aht10.c.