airquality2 2.0.0.0
|
This file contains API for Air quality 2 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 | airquality2_t |
Click ctx object definition. More... | |
struct | airquality2_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | airquality2_cfg_setup (airquality2_cfg_t *cfg) |
Config Object Initialization function. | |
AIRQUALITY2_RETVAL | airquality2_init (airquality2_t *ctx, airquality2_cfg_t *cfg) |
Initialization function. | |
void | airquality2_generic_read (airquality2_t *ctx, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
uint8_t | airquality2_get_all_data (airquality2_t *ctx, uint16_t *value_co2, uint16_t *value_tvoc, int32_t *resistance) |
Read all data info function. | |
This file contains API for Air quality 2 Click driver.