|
void | co2_cfg_setup (co2_cfg_t *cfg) |
| CO2 configuration object setup function.
|
|
err_t | co2_init (co2_t *ctx, co2_cfg_t *cfg) |
| CO2 initialization function.
|
|
err_t | co2_default_cfg (co2_t *ctx) |
| CO2 default configuration function.
|
|
err_t | co2_generic_write (co2_t *ctx, uint16_t reg, uint16_t *tx_buf, uint8_t tx_len) |
| CO2 I2C writing function.
|
|
err_t | co2_generic_read (co2_t *ctx, uint16_t reg, uint16_t *rx_buf, uint8_t rx_len) |
| CO2 I2C reading function.
|
|
err_t | co2_reset (co2_t *ctx) |
| Reset device.
|
|
err_t | co2_get_id (co2_t *ctx) |
| Read device and serial ID's.
|
|
err_t | co2_set_reference (co2_t *ctx, uint16_t humidity, uint16_t pressure) |
| Set device refrence values for gas calculation.
|
|
err_t | co2_read_gas (co2_t *ctx, float *gas_concentration, float *temperature) |
| Read CO2 concentration and temperature value.
|
|
err_t | co2_disable_crc (co2_t *ctx) |
| Disable use of CRC.
|
|
This file contains API for CO2 Click Driver.