heartrate3 2.0.0.0
|
This file contains API for Heart rate 3 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 | heartrate3_t |
Click ctx object definition. More... | |
struct | heartrate3_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | heartrate3_cfg_setup (heartrate3_cfg_t *cfg) |
Config Object Initialization function. | |
err_t | heartrate3_init (heartrate3_t *ctx, heartrate3_cfg_t *cfg) |
Initialization function. | |
err_t | heartrate3_default_cfg (heartrate3_t *ctx) |
Click Default Configuration function. | |
err_t | heartrate3_generic_write (heartrate3_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
Generic write function. | |
err_t | heartrate3_generic_read (heartrate3_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
Generic read function. | |
err_t | heartrate3_write_data (heartrate3_t *ctx, uint8_t reg_adr, uint32_t wr_data) |
Write data function. | |
err_t | heartrate3_read_24bit (heartrate3_t *ctx, uint8_t reg_adr, uint32_t *data_out) |
Read 24-bit data function. | |
err_t | heartrate3_read_16bit (heartrate3_t *ctx, uint8_t reg_adr, uint16_t *data_out) |
Read 16-bit data function. | |
void | heartrate3_rst_state (heartrate3_t *ctx, uint8_t state) |
Set Reset pin state. | |
void | heartrate3_clk_state (heartrate3_t *ctx, uint8_t state) |
Set Clock pin state. | |
uint8_t | heartrate3_check_data_ready (heartrate3_t *ctx) |
Check data ready function. | |
This file contains API for Heart rate 3 Click driver.