![]() |
LibDriver SGP41
|
sgp41 example driver modules More...
Functions | |
| uint8_t | sgp41_basic_init (void) |
| basic example init | |
| uint8_t | sgp41_basic_deinit (void) |
| basic example deinit | |
| uint8_t | sgp41_basic_read (float temperature, float humidity, int32_t *voc_gas_index, int32_t *nox_gas_index) |
| basic example read | |
| uint8_t | sgp41_basic_read_without_compensation (int32_t *voc_gas_index, int32_t *nox_gas_index) |
| basic example read without compensation | |
| uint8_t | sgp41_basic_get_serial_id (uint16_t id[3]) |
| basic example get serial id | |
sgp41 example driver modules
| uint8_t sgp41_basic_deinit | ( | void | ) |
basic example deinit
Definition at line 99 of file driver_sgp41_basic.c.
| uint8_t sgp41_basic_get_serial_id | ( | uint16_t | id[3] | ) |
basic example get serial id
| [out] | *id | pointer to an id buffer |
Definition at line 206 of file driver_sgp41_basic.c.
| uint8_t sgp41_basic_init | ( | void | ) |
basic example init
Definition at line 51 of file driver_sgp41_basic.c.
| uint8_t sgp41_basic_read | ( | float | temperature, |
| float | humidity, | ||
| int32_t * | voc_gas_index, | ||
| int32_t * | nox_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 |
| [out] | *nox_gas_index | pointer to a nox gas index buffer |
Definition at line 121 of file driver_sgp41_basic.c.
| uint8_t sgp41_basic_read_without_compensation | ( | int32_t * | voc_gas_index, |
| int32_t * | nox_gas_index ) |
basic example read without compensation
| [out] | *voc_gas_index | pointer to a voc gas index buffer |
| [out] | *nox_gas_index | pointer to a nox gas index buffer |
Definition at line 174 of file driver_sgp41_basic.c.