environment4 2.1.0.0
|
This file contains API for Environment 4 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | environment4_t |
Environment 4 Click context object. More... | |
struct | environment4_cfg_t |
Environment 4 Click configuration object. More... | |
Enumerations | |
enum | environment4_return_value_t { ENVIRONMENT4_OK = 0 , ENVIRONMENT4_ERROR = -1 } |
Environment 4 Click return value data. More... | |
Functions | |
void | environment4_cfg_setup (environment4_cfg_t *cfg) |
Environment 4 configuration object setup function. | |
err_t | environment4_init (environment4_t *ctx, environment4_cfg_t *cfg) |
Environment 4 initialization function. | |
err_t | environment4_sgp_exe_conditioning (environment4_t *ctx, uint16_t comp_rh, uint16_t comp_t, uint16_t *sraw_voc) |
Environment 4 sgp exe conditioning function. | |
err_t | environment4_sgp_meas_raw_signals (environment4_t *ctx, uint16_t comp_rh, uint16_t comp_t, uint16_t *sraw_voc, uint16_t *sraw_nox) |
Environment 4 sgp meas raw signals function. | |
err_t | environment4_sgp_exe_self_test (environment4_t *ctx, uint8_t *test_result) |
Environment 4 sgp exe self test function. | |
err_t | environment4_sgp_turn_heater_off (environment4_t *ctx) |
Environment 4 sgp turn heater off function. | |
err_t | environment4_sgp_get_serial_num (environment4_t *ctx, uint16_t *serial_num) |
Environment 4 sgp get serial num function. | |
err_t | environment4_sht_send_cmd (environment4_t *ctx, uint8_t cmd) |
Environment 4 sht send cmd function. | |
err_t | environment4_sht_read_response (environment4_t *ctx, uint8_t *data_out) |
Environment 4 sht read response function. | |
err_t | environment4_sht_soft_reset (environment4_t *ctx) |
Environment 4 sht soft reset function. | |
err_t | environment4_sht_read_serial_num (environment4_t *ctx, uint32_t *serial_num) |
Environment 4 sht read serial num function. | |
err_t | environment4_sht_read_meas_hp (environment4_t *ctx, float *temp, float *hum) |
Environment 4 sht read meas hp function. | |
This file contains API for Environment 4 Click Driver.