![]() |
LibDriver SGP40
|
sgp40 example driver modules More...
Functions | |
| uint8_t | sgp40_basic_init (void) |
| basic example init | |
| uint8_t | sgp40_basic_deinit (void) |
| basic example deinit | |
| uint8_t | sgp40_basic_read (float temperature, float humidity, int32_t *voc_gas_index) |
| basic example read | |
| uint8_t | sgp40_basic_read_without_compensation (int32_t *voc_gas_index) |
| basic example read without compensation | |
| uint8_t | sgp40_basic_get_serial_id (uint16_t id[3]) |
| basic example get serial id | |
sgp40 example driver modules
| uint8_t sgp40_basic_deinit | ( | void | ) |
basic example deinit
Definition at line 95 of file driver_sgp40_basic.c.
| uint8_t sgp40_basic_get_serial_id | ( | uint16_t | id[3] | ) |
basic example get serial id
| [out] | *id | pointer to an id buffer |
Definition at line 192 of file driver_sgp40_basic.c.
| uint8_t sgp40_basic_init | ( | void | ) |
basic example init
Definition at line 50 of file driver_sgp40_basic.c.
| uint8_t sgp40_basic_read | ( | float | temperature, |
| float | humidity, | ||
| int32_t * | voc_gas_index ) |
basic example read
| [in] | temperature | current temperature in C |
| [in] | humidity | current humidity in % |
| [out] | *voc_gas_index | pointer to a voc gas index buffer |
Definition at line 116 of file driver_sgp40_basic.c.
| uint8_t sgp40_basic_read_without_compensation | ( | int32_t * | voc_gas_index | ) |
basic example read without compensation
| [out] | *voc_gas_index | pointer to a voc gas index buffer |
Definition at line 164 of file driver_sgp40_basic.c.