no22 2.0.0.0
|
Functions | |
void | no22_cfg_setup (no22_cfg_t *cfg) |
Config Object Initialization function. | |
NO22_RETVAL | no22_init (no22_t *ctx, no22_cfg_t *cfg) |
Initialization function. | |
uint16_t | no22_read_data (no22_t *ctx) |
Function for reading ADC data. | |
float | no22_get_ppb (no22_t *ctx) |
Function for reading ppb data. | |
uint8_t | no22_set_pht_state (no22_t *ctx, uint8_t state) |
Function for setting pht pin. | |
void no22_cfg_setup | ( | no22_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
float no22_get_ppb | ( | no22_t * | ctx | ) |
Function for reading ppb data.
ctx | Click object. |
@description ppb data
NO22_RETVAL no22_init | ( | no22_t * | ctx, |
no22_cfg_t * | cfg ) |
Initialization function.
no22 | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
uint16_t no22_read_data | ( | no22_t * | ctx | ) |
Function for reading ADC data.
ctx | Click object. |
@description ADC data
uint8_t no22_set_pht_state | ( | no22_t * | ctx, |
uint8_t | state ) |
Function for setting pht pin.
ctx | Click object. |
state | State of pin |
@description NO22_ERROR - if there is an error / NO22_SUCCESSFUL - if there isn't an error