ecggsr
2.0.0.0
|
This file contains API header for ECG GSR Click driver. More...
#include "mikrosdk_version.h"
#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 | ecggsr_t |
Context structure. More... | |
struct | ecggsr_cfg_t |
Configuration structure. More... | |
Enumerations | |
enum | ecggsr_functionality_t { ENABLE_OXIMETER_FUNCTIONALITY = 0, ENABLE_HEARTRATE_FUNCTIONALITY, ENABLE_GALVANIC_SKIN_RESPONSE_FUNCTIONALITY, DEFAULT_ECGGSR_CLICK_FUNCTIONALITY = ENABLE_HEARTRATE_FUNCTIONALITY } |
ECG GSR type of measurement selector. More... | |
enum | ecggsr_err_t { ecggsr_ok = 0, ecggsr_init_error } |
Error Code. More... | |
Functions | |
void | ecggsr_cfg_setup (ecggsr_cfg_t *cfg) |
ECG GSR configuration object setup function. More... | |
err_t | ecggsr_init (ecggsr_t *ctx, ecggsr_cfg_t *cfg) |
Initialization function. More... | |
void | ecggsr_default_cfg (ecggsr_t *ctx, ecggsr_cfg_t *cfg) |
Click Default Configuration function. More... | |
err_t | ecggsr_write_reg (ecggsr_t *ctx, uint8_t register_address, uint8_t transfer_data) |
Generic Write function. More... | |
err_t | ecggsr_read_reg (ecggsr_t *ctx, uint8_t register_address, uint8_t *data_out, uint8_t num_of_regs) |
Generic Read function. More... | |
void | ecggsr_read_dev_id (ecggsr_t *ctx, uint8_t *dev_id_out) |
ECG GSR Read ID function. More... | |
void | ecggsr_reset (ecggsr_t *ctx) |
ECG GSR Reset function. More... | |
This file contains API header for ECG GSR Click driver.