ozone2 2.0.0.0
|
This file contains API for Ozone 2 Click driver. More...
#include "drv_analog_in.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | ozone2_t |
Click ctx object definition. More... | |
struct | ozone2_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | OZONE2_MAP_MIKROBUS(cfg, mikrobus) |
#define | OZONE2_OK 0 |
#define | OZONE2_INIT_ERROR (-1) |
Enumerations | |
enum | ozone2_adc_sel_t { OZONE2_ADC_SEL_AN , OZONE2_ADC_SEL_SPI } |
Click AD conversion type selectors. More... | |
Functions | |
void | ozone2_cfg_setup (ozone2_cfg_t *cfg) |
Config Object Initialization function. | |
err_t | ozone2_init (ozone2_t *ctx, ozone2_cfg_t *cfg) |
Initialization function. | |
err_t | ozone2_read_signal_voltage (ozone2_t *ctx, float *data_out) |
Measurement Voltage Read function. | |
err_t | ozone2_read_measurement (ozone2_t *ctx, uint16_t *data_out) |
Measurement Read function. | |
This file contains API for Ozone 2 Click driver.