heartrate6 2.0.0.0
|
This file contains API for Heart rate 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 | heartrate6_t |
Click ctx object definition. More... | |
struct | heartrate6_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | heartrate6_cfg_setup (heartrate6_cfg_t *cfg) |
Config Object Initialization function. | |
HEARTRATE6_RETVAL | heartrate6_init (heartrate6_t *ctx, heartrate6_cfg_t *cfg) |
Initialization function. | |
void | heartrate6_default_cfg (heartrate6_t *ctx) |
Click Default Configuration function. | |
uint8_t | heartrate6_write_single_byte (heartrate6_t *ctx, uint8_t reg_addr, uint8_t data_in) |
Single Byte Write function. | |
uint8_t | heartrate6_write_bytes (heartrate6_t *ctx, uint8_t start_addr, uint8_t *data_in, uint8_t n_bytes) |
Bytes Write function. | |
uint8_t | heartrate6_read_bytes (heartrate6_t *ctx, uint8_t start_addr, uint8_t *data_out, uint8_t n_bytes) |
Generic Read function. | |
void | heartrate6_start_measure (heartrate6_t *ctx) |
Measurement Start function. | |
void | heartrate6_reset (heartrate6_t *ctx) |
Reset function. | |
void | heartrate6_set_freq (heartrate6_t *ctx, uint8_t freq_data) |
Frequency Set function. | |
void | heartrate6_get_data (heartrate6_t *ctx, uint16_t *led_off_data, uint16_t *led_on_data) |
Data Get function. | |
void | heartrate6_wait_measure (heartrate6_t *ctx) |
Wait measurement function. | |
This file contains API for Heart rate 6 Click driver.