heartrate8 2.0.0.0
|
This file contains API for Heart Rate 8 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 | heartrate8_t |
Click ctx object definition. More... | |
struct | heartrate8_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | heartrate8_cfg_setup (heartrate8_cfg_t *cfg) |
Config Object Initialization function. | |
HEARTRATE8_RETVAL | heartrate8_init (heartrate8_t *ctx, heartrate8_cfg_t *cfg) |
Initialization function. | |
void | heartrate8_default_cfg (heartrate8_t *ctx) |
Click Default Configuration function. | |
uint8_t | heartrate8_write_single_byte (heartrate8_t *ctx, uint8_t reg_addr, uint8_t data_in) |
Generic Single Byte Write function. | |
uint8_t | heartrate8_write_bytes (heartrate8_t *ctx, uint8_t start_addr, uint8_t *data_in, uint8_t n_bytes) |
Generic Bytes Write function. | |
uint8_t | heartrate8_read_bytes (heartrate8_t *ctx, uint8_t start_addr, uint8_t *data_out, uint8_t n_bytes) |
Generic Read function. | |
void | heartrate8_start_measure (heartrate8_t *ctx) |
Measurement Start function. | |
void | heartrate8_reset (heartrate8_t *ctx) |
Reset function. | |
void | heartrate8_meas_sync (heartrate8_t *ctx) |
Measurement Synchronization function. | |
uint8_t | heartrate8_int_clear (heartrate8_t *ctx) |
Interrupt Clear function. | |
uint8_t | heartrate8_check_int (heartrate8_t *ctx) |
Interrupt Check function. | |
uint8_t | heartrate8_get_data (heartrate8_t *ctx, uint8_t data_select, uint16_t *led_out_on, uint16_t *led_out_off) |
Data Get function. | |
This file contains API for Heart Rate 8 Click driver.