airquality5 2.0.0.0
|
This file contains API for Air quality 5 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 | airquality5_t |
Click ctx object definition. More... | |
struct | airquality5_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | airquality5_cfg_setup (airquality5_cfg_t *cfg) |
Config Object Initialization function. | |
AIRQUALITY5_RETVAL | airquality5_init (airquality5_t *ctx, airquality5_cfg_t *cfg) |
Initialization function. | |
void | airquality5_default_cfg (airquality5_t *ctx) |
Click Default Configuration function. | |
void | airquality5_generic_write (airquality5_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | airquality5_generic_read (airquality5_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
void | airq5_write_data (airquality5_t *ctx, uint8_t reg, uint16_t data_b) |
Functions for write data in register. | |
uint16_t | airq5_read_data (airquality5_t *ctx, uint8_t reg) |
Functions for read data from register. | |
void | airq5_set_configuration (airquality5_t *ctx, uint16_t config) |
Functions for configuration. | |
uint16_t | airq5_read_sensor_data (airquality5_t *ctx, uint16_t channel_data) |
Functions for read sensor data. | |
uint8_t | airq5_get_interrupt (airquality5_t *ctx) |
Functions for reads interrupt pin. | |
This file contains API for Air quality 5 Click driver.