![]() |
LibDriver SGP40
|
sgp40 extern driver modules More...
Functions | |
| uint8_t | sgp40_set_reg (sgp40_handle_t *handle, uint16_t reg, uint8_t *buf, uint16_t len) |
| set the chip register | |
| uint8_t | sgp40_get_reg (sgp40_handle_t *handle, uint16_t reg, uint8_t *buf, uint16_t len) |
| get the chip register | |
sgp40 extern driver modules
| uint8_t sgp40_get_reg | ( | sgp40_handle_t * | handle, |
| uint16_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
get the chip register
| [in] | *handle | pointer to an sgp40 handle structure |
| [in] | reg | iic register address |
| [out] | *buf | pointer to a data buffer |
| [in] | len | data buffer length |
Definition at line 698 of file driver_sgp40.c.
| uint8_t sgp40_set_reg | ( | sgp40_handle_t * | handle, |
| uint16_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
set the chip register
| [in] | *handle | pointer to an sgp40 handle structure |
| [in] | reg | iic register address |
| [in] | *buf | pointer to a data buffer |
| [in] | len | data buffer length |
Definition at line 671 of file driver_sgp40.c.