|
void | environment2_cfg_setup (environment2_cfg_t *cfg) |
| Environment 2 configuration object setup function.
|
|
err_t | environment2_init (environment2_t *ctx, environment2_cfg_t *cfg) |
| Environment 2 initialization function.
|
|
err_t | environment2_generic_write (environment2_t *ctx, uint8_t select_device, uint16_t cmd) |
| Environment 2 I2C writing function.
|
|
err_t | environment2_generic_read (environment2_t *ctx, uint8_t select_device, uint16_t cmd, uint8_t *rx_buf) |
| Environment 2 I2C reading function.
|
|
err_t | environment2_get_temp_hum (environment2_t *ctx, float *humidity, float *temperature) |
| Environment 2 get temperature and relative humidity function.
|
|
err_t | environment2_get_air_quality (environment2_t *ctx, uint16_t *air_quality) |
| Environment 2 get air quality data function.
|
|
uint16_t | environment2_sgp40_measure_test (environment2_t *ctx) |
| Environment 2 SGP40 measurement test function.
|
|
err_t | environment2_sgp40_heater_off (environment2_t *ctx) |
| Environment 2 heater off function.
|
|
err_t | environment2_sgp40_soft_reset (environment2_t *ctx) |
| Environment 2 soft reset function.
|
|
err_t | environment2_voc_algorithm_configuration (environment2_voc_algorithm_params *params) |
| Environment 2 VOC algorithm configuration function.
|
|
err_t | environment2_config_sensors (void) |
| Environment 2 sensors configuration function.
|
|
err_t | environment2_voc_algorithm_process (environment2_voc_algorithm_params *params, int32_t sraw, int32_t *voc_index) |
| Environment 2 VOC algorithm process function.
|
|
err_t | environment2_measure_voc_index_with_rh_t (environment2_t *ctx, int32_t *voc_index, int32_t *relative_humidity, int32_t *temperature) |
| Environment 2 measure VOC index with relative humidity and temperature function.
|
|
err_t | environment2_get_voc_index (environment2_t *ctx, int32_t *voc_index) |
| Environment 2 get VOC index function.
|
|
This file contains API for Environment 2 Click Driver.