ambient7 2.0.0.0
|
Functions | |
void | ambient7_cfg_setup (ambient7_cfg_t *cfg) |
Config Object Initialization function. More... | |
AMBIENT7_RETVAL | ambient7_init (ambient7_t *ctx, ambient7_cfg_t *cfg) |
Initialization function. More... | |
ambient7_data_t | ambient7_generic_read (ambient7_t *ctx) |
Generic read function. More... | |
void ambient7_cfg_setup | ( | ambient7_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
ambient7_data_t ambient7_generic_read | ( | ambient7_t * | ctx | ) |
Generic read function.
ctx | Click object. |
@description This function read ADC data.
AMBIENT7_RETVAL ambient7_init | ( | ambient7_t * | ctx, |
ambient7_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.