ecg_gsr
2.0.0.0
|
This file contains API header for ECG GSR Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | ecg_gsr_t |
Context structure. More... | |
struct | ecg_gsr_cfg_t |
Configuration structure. More... | |
Enumerations | |
enum | ecg_gsr_functionality_t { ENABLE_OXIMETER_FUNCTIONALITY = 0, ENABLE_HEARTRATE_FUNCTIONALITY, ENABLE_GALVANIC_SKIN_RESPONSE_FUNCTIONALITY, DEFAULT_ECG_GSR_CLICK_FUNCTIONALITY = ENABLE_OXIMETER_FUNCTIONALITY } |
ECG GSR type of measurement selector. More... | |
enum | ecg_gsr_err_t { ecg_gsr_ok = 0, ecg_gsr_init_error } |
Error Code. More... | |
Functions | |
void | ecg_gsr_cfg_setup (ecg_gsr_cfg_t *cfg) |
ECG GSR configuration object setup function. More... | |
ecg_gsr_err_t | ecg_gsr_init (ecg_gsr_t *ctx, ecg_gsr_cfg_t *cfg) |
Initialization function. More... | |
void | ecg_gsr_default_cfg (ecg_gsr_t *ctx, ecg_gsr_cfg_t *cfg) |
Click Default Configuration function. More... | |
ecg_gsr_err_t | ecg_gsr_write_reg (ecg_gsr_t *ctx, uint8_t register_address, uint8_t transfer_data) |
Generic Write function. More... | |
ecg_gsr_err_t | ecg_gsr_read_reg (ecg_gsr_t *ctx, uint8_t register_address, uint16_t *data_out, uint8_t num_of_regs) |
Generic Read function. More... | |
void | ecg_gsr_read_dev_id (ecg_gsr_t *ctx, uint8_t register_address, uint8_t *dev_id_out, uint8_t num_of_regs) |
ECG GSR Read ID function. More... | |
void | ecg_gsr_reset (ecg_gsr_t *ctx) |
ECG GSR Reset function. More... | |
This file contains API header for ECG GSR Click driver.