no22 2.0.0.0
Public function

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.
 

Detailed Description

Function Documentation

◆ no22_cfg_setup()

void no22_cfg_setup ( no22_cfg_t * cfg)

Config Object Initialization function.

Parameters
cfgClick configuration structure.

@description This function initializes click configuration structure to init state.

Note
All used pins will be set to unconnected state.

◆ no22_get_ppb()

float no22_get_ppb ( no22_t * ctx)

Function for reading ppb data.

Parameters
ctxClick object.

@description ppb data

◆ no22_init()

NO22_RETVAL no22_init ( no22_t * ctx,
no22_cfg_t * cfg )

Initialization function.

Parameters
no22Click object.
cfgClick configuration structure.

@description This function initializes all necessary pins and peripherals used for this click.

◆ no22_read_data()

uint16_t no22_read_data ( no22_t * ctx)

Function for reading ADC data.

Parameters
ctxClick object.

@description ADC data

◆ no22_set_pht_state()

uint8_t no22_set_pht_state ( no22_t * ctx,
uint8_t state )

Function for setting pht pin.

Parameters
ctxClick object.
stateState of pin

@description NO22_ERROR - if there is an error / NO22_SUCCESSFUL - if there isn't an error