![]() |
LibDriver SGP41
|
sgp41 extern driver modules More...
Functions | |
| uint8_t | sgp41_set_reg (sgp41_handle_t *handle, uint16_t reg, uint8_t *buf, uint16_t len) |
| set the chip register | |
| uint8_t | sgp41_get_reg (sgp41_handle_t *handle, uint16_t reg, uint8_t *buf, uint16_t len) |
| get the chip register | |
sgp41 extern driver modules
| uint8_t sgp41_get_reg | ( | sgp41_handle_t * | handle, |
| uint16_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
get the chip register
| [in] | *handle | pointer to an sgp41 handle structure |
| [in] | reg | iic register address |
| [out] | *buf | pointer to a data buffer |
| [in] | len | data buffer length |
Definition at line 767 of file driver_sgp41.c.
| uint8_t sgp41_set_reg | ( | sgp41_handle_t * | handle, |
| uint16_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
set the chip register
| [in] | *handle | pointer to an sgp41 handle structure |
| [in] | reg | iic register address |
| [in] | *buf | pointer to a data buffer |
| [in] | len | data buffer length |
Definition at line 740 of file driver_sgp41.c.