ecg6 2.0.0.0
|
This file contains API for Ecg 6 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 | ecg6_int_status_t |
struct | ecg6_element_t |
struct | ecg6_fifo_t |
struct | ecg6_cfg_element_t |
struct | ecg6_t |
Click ctx object definition. More... | |
struct | ecg6_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | ecg6_cfg_setup (ecg6_cfg_t *cfg) |
Config Object Initialization function. | |
ECG6_RETVAL | ecg6_init (ecg6_t *ctx, ecg6_cfg_t *cfg) |
Initialization function. | |
void | ecg6_default_cfg (ecg6_t *ctx) |
Default configuration for ECG sensor. | |
void | ecg6_write_data (ecg6_t *ctx, uint8_t reg, uint8_t in_data) |
Generic Write function. | |
void | ecg6_write_data_buf (ecg6_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic Write buffer function. | |
uint8_t | ecg6_read_data (ecg6_t *ctx, uint8_t reg) |
Generic Read function. | |
void | ecg6_read_data_buf (ecg6_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic Read buffer function. | |
uint8_t | ecg6_check_path_id (ecg6_t *ctx) |
Function for check path ID. | |
uint8_t | ecg6_ppg_default_config (ecg6_t *ctx) |
Function for configuration sensors to element. | |
void | ecg6_get_sample_data (ecg6_t *ctx, ecg6_element_t *element, uint8_t num_sample) |
Get one sample from FIFO. | |
void | ecg6_get_all_samples (ecg6_t *ctx, ecg6_fifo_t *fifo_data) |
Get all samples from FIFO. | |
void | ecg6_get_interrupt_status (ecg6_t *ctx, ecg6_int_status_t *status) |
Get Interrupt registers status. | |
uint8_t | ecg6_int_pin_state (ecg6_t *ctx) |
Get Interrupt pin state. | |
This file contains API for Ecg 6 Click driver.