ozone2 2.0.0.0
|
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. | |
void ozone2_cfg_setup | ( | ozone2_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
err_t ozone2_init | ( | ozone2_t * | ctx, |
ozone2_cfg_t * | cfg ) |
Initialization function.
ctx | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
err_t ozone2_read_measurement | ( | ozone2_t * | ctx, |
uint16_t * | data_out ) |
Measurement Read function.
ctx | Click object. |
data_out | Output measurement level [ppm]. |
@description This function reads the level of the measurement signal voltage and calculates this value to ppm in the range from 10 to 1000 ppm.
err_t ozone2_read_signal_voltage | ( | ozone2_t * | ctx, |
float * | data_out ) |
Measurement Voltage Read function.
ctx | Click object. |
data_out | Output voltage value [V]. |
@description This function reads the level of the output measurement voltage.