![]() |
LibDriver SGP30
|
sgp30 extern driver modules More...
Functions | |
| uint8_t | sgp30_set_reg (sgp30_handle_t *handle, uint16_t reg, uint8_t *buf, uint16_t len) |
| set the chip register | |
| uint8_t | sgp30_get_reg (sgp30_handle_t *handle, uint16_t reg, uint8_t *buf, uint16_t len) |
| get the chip register | |
sgp30 extern driver modules
| uint8_t sgp30_get_reg | ( | sgp30_handle_t * | handle, |
| uint16_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
get the chip register
| [in] | *handle | pointer to an sgp30 handle structure |
| [in] | reg | iic register address |
| [out] | *buf | pointer to a data buffer |
| [in] | len | data buffer length |
Definition at line 958 of file driver_sgp30.c.
| uint8_t sgp30_set_reg | ( | sgp30_handle_t * | handle, |
| uint16_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
set the chip register
| [in] | *handle | pointer to an sgp30 handle structure |
| [in] | reg | iic register address |
| [in] | *buf | pointer to a data buffer |
| [in] | len | data buffer length |
Definition at line 931 of file driver_sgp30.c.