|
void | ecg2_cfg_setup (ecg2_cfg_t *cfg) |
| ECG 2 configuration object setup function.
|
|
err_t | ecg2_init (ecg2_t *ctx, ecg2_cfg_t *cfg) |
| ECG 2 initialization function.
|
|
err_t | ecg2_default_cfg (ecg2_t *ctx) |
| ECG 2 default configuration function.
|
|
err_t | ecg2_generic_write (ecg2_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| ECG 2 data writing function.
|
|
err_t | ecg2_generic_read (ecg2_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| ECG 2 data reading function.
|
|
err_t | ecg2_read_an_pin_value (ecg2_t *ctx, uint16_t *data_out) |
| ECG 2 read AN pin value function.
|
|
err_t | ecg2_write_register (ecg2_t *ctx, uint8_t reg, uint8_t data_in) |
| ECG 2 register data write function.
|
|
err_t | ecg2_read_register (ecg2_t *ctx, uint8_t reg, uint8_t *data_out) |
| ECG 2 register data reading function.
|
|
err_t | ecg2_multi_write (ecg2_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| ECG 2 data multi writing function.
|
|
err_t | ecg2_multi_read (ecg2_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| ECG 2 data multi reading function.
|
|
err_t | ecg2_send_command (ecg2_t *ctx, uint8_t command) |
| ECG 2 send command function.
|
|
void | ecg2_hw_reset (ecg2_t *ctx) |
| ECG 2 hardware reset function.
|
|
uint8_t | ecg2_get_device_id (ecg2_t *ctx) |
| ECG 2 get device id function.
|
|
err_t | ecg2_configure_channel (ecg2_t *ctx, uint8_t channel, uint8_t enable, uint8_t pga_gain, int8_t channel_input) |
| ECG 2 configure channel function.
|
|
void | ecg2_right_leg_positive_drive_set (ecg2_t *ctx, uint8_t data_in) |
| ECG 2 right leg positive drive settings function.
|
|
void | ecg2_right_leg_negative_drive_set (ecg2_t *ctx, uint8_t data_in) |
| ECG 2 right leg negative drive settings function.
|
|
void | ecg2_lead_off_positive_channel_select (ecg2_t *ctx, uint8_t data_in) |
| ECG 2 lead off positive drive settings function.
|
|
void | ecg2_lead_off_negative_channel_select (ecg2_t *ctx, uint8_t data_in) |
| ECG 2 lead off negative drive settings function.
|
|
void | ecg2_lead_off_current_direction_select (ecg2_t *ctx, uint8_t data_in) |
| ECG 2 lead off current direction drive settings function.
|
|
err_t | ecg2_pace_detect_even_channels_select (ecg2_t *ctx, uint8_t select) |
| ECG 2 pace detect even chanels drive settings function.
|
|
err_t | ecg2_pace_detect_odd_channels_select (ecg2_t *ctx, uint8_t select) |
| ECG 2 pace detect odd chanels drive settings function.
|
|
void | ecg2_wilson_center_terminal_configure (ecg2_t *ctx, uint16_t set) |
| ECG 2 right leg positive drive settings function.
|
|
uint8_t | ecg2_data_ready (ecg2_t *ctx) |
| ECG 2 is data ready function.
|
|
err_t | ecg2_read_data (ecg2_t *ctx, uint8_t *data_out, uint8_t len) |
| ECG 2 read ADC data function.
|
|
err_t | ecg2_read_channel_data (ecg2_t *ctx, uint8_t channel, uint16_t *data_out) |
| ECG 2 read data channel function.
|
|
This file contains API for ECG 2 Click Driver.