ozone3 2.0.0.0
|
This file contains API for Ozone 3 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 | ozone3_t |
Ozone 3 Click context object. More... | |
struct | ozone3_cfg_t |
Ozone 3 Click configuration object. More... | |
Enumerations | |
enum | ozone3_return_value_t { OZONE3_OK = 0 , OZONE3_ERROR = -1 } |
Ozone 3 Click return value data. More... | |
Functions | |
void | ozone3_cfg_setup (ozone3_cfg_t *cfg) |
Ozone 3 configuration object setup function. | |
err_t | ozone3_init (ozone3_t *ctx, ozone3_cfg_t *cfg) |
Ozone 3 initialization function. | |
err_t | ozone3_default_cfg (ozone3_t *ctx) |
Ozone 3 default configuration function. | |
err_t | ozone3_generic_write (ozone3_t *ctx, uint8_t reg, uint8_t *tx_buf, uint8_t tx_len) |
Ozone 3 I2C writing function. | |
err_t | ozone3_generic_read (ozone3_t *ctx, uint8_t reg, uint8_t *rx_buf, uint8_t rx_len) |
Ozone 3 I2C reading function. | |
err_t | ozone3_enable (ozone3_t *ctx, uint8_t state) |
Ozone 3 enable function. | |
err_t | ozone3_write_byte (ozone3_t *ctx, uint8_t reg, uint8_t dev_data) |
Ozone 3 write byte function. | |
uint8_t | ozone3_read_byte (ozone3_t *ctx, uint8_t reg) |
Ozone 3 read byte function. | |
uint16_t | ozone3_read_adc (ozone3_t *ctx) |
Ozone 3 read ADC function. | |
float | ozone3_get_o3_ppm (ozone3_t *ctx) |
Ozone 3 get O3 ppm function. | |
void | ozone3_wait_ready (ozone3_t *ctx) |
Ozone 3 wait ready function. | |
This file contains API for Ozone 3 Click Driver.