diffpress 2.0.0.0
|
Functions | |
void | diffpress_cfg_setup (diffpress_cfg_t *cfg) |
Config Object Initialization function. | |
DIFFPRESS_RETVAL | diffpress_init (diffpress_t *ctx, diffpress_cfg_t *cfg) |
Initialization function. | |
uint16_t | diffpress_get_adc_data (diffpress_t *ctx) |
Gets adc data function. | |
float | diffpress_get_pressure_difference (diffpress_t *ctx) |
Gets pressure difference function. | |
void diffpress_cfg_setup | ( | diffpress_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
uint16_t diffpress_get_adc_data | ( | diffpress_t * | ctx | ) |
Gets adc data function.
ctx | Click object. |
@description This function gets adc data.
float diffpress_get_pressure_difference | ( | diffpress_t * | ctx | ) |
Gets pressure difference function.
ctx | Click object. |
@description This function gets pressure difference.
DIFFPRESS_RETVAL diffpress_init | ( | diffpress_t * | ctx, |
diffpress_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.