ecg 2.0.0.0
|
Functions | |
void | ecg_cfg_setup (ecg_cfg_t *cfg) |
Config Object Initialization function. | |
ECG_RETVAL | ecg_init (ecg_t *ctx, ecg_cfg_t *cfg) |
Initialization function. | |
void | ecg_default_cfg (ecg_t *ctx) |
Click Default Configuration function. | |
ecg_data_t | ecg_generic_read (ecg_t *ctx) |
Generic read function. | |
void ecg_cfg_setup | ( | ecg_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
void ecg_default_cfg | ( | ecg_t * | ctx | ) |
Click Default Configuration function.
ctx | Click object. |
@description This function executes default configuration for ECG click.
ecg_data_t ecg_generic_read | ( | ecg_t * | ctx | ) |
Generic read function.
ctx | Click object. |
@description This function read ADC data.
ECG_RETVAL ecg_init | ( | ecg_t * | ctx, |
ecg_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.