pot
2.0.0.0
|
Functions | |
void | pot_cfg_setup (pot_cfg_t *cfg) |
Config Object Initialization function. More... | |
POT_RETVAL | pot_init (pot_t *ctx, pot_cfg_t *cfg) |
Initialization function. More... | |
pot_data_t | pot_generic_read (pot_t *ctx) |
Generic read function. More... | |
void pot_cfg_setup | ( | pot_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
This function initializes click configuration structure to init state.
pot_data_t pot_generic_read | ( | pot_t * | ctx | ) |
Generic read function.
ctx | Click object. |
This function read ADC data.
POT_RETVAL pot_init | ( | pot_t * | ctx, |
pot_cfg_t * | cfg | ||
) |
Initialization function.
ctx | Click object. |
cfg | Click configuration structure. |
This function initializes all necessary pins and peripherals used for this click.