heartrate11 2.0.0.0
|
This file contains API for Heart Rate 11 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 | heartrate11_t |
Heart Rate 11 Click context object. More... | |
struct | heartrate11_cfg_t |
Heart Rate 11 Click configuration object. More... | |
Enumerations | |
enum | heartrate11_return_value_t { HEARTRATE11_OK = 0 , HEARTRATE11_ERROR = -1 } |
Heart Rate 11 Click return value data. More... | |
Functions | |
void | heartrate11_cfg_setup (heartrate11_cfg_t *cfg) |
Heart Rate 11 configuration object setup function. | |
err_t | heartrate11_init (heartrate11_t *ctx, heartrate11_cfg_t *cfg) |
Heart Rate 11 initialization function. | |
err_t | heartrate11_default_cfg (heartrate11_t *ctx) |
Heart Rate 11 default configuration function. | |
err_t | heartrate11_generic_write (heartrate11_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
Heart Rate 11 I2C writing function. | |
err_t | heartrate11_generic_read (heartrate11_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
Heart Rate 11 I2C reading function. | |
err_t | heartrate11_write_register (heartrate11_t *ctx, uint8_t reg, uint8_t data_in) |
Heart Rate 11 write register function. | |
err_t | heartrate11_read_register (heartrate11_t *ctx, uint8_t reg, uint8_t *data_out) |
Heart Rate 11 read register function. | |
uint8_t | heartrate11_get_int_pin (heartrate11_t *ctx) |
Heart Rate 11 get int pin function. | |
err_t | heartrate11_reset_device (heartrate11_t *ctx) |
Heart Rate 11 reset device function. | |
err_t | heartrate11_set_led_current (heartrate11_t *ctx, uint8_t led, float current) |
Heart Rate 11 set led current function. | |
err_t | heartrate11_read_fifo (heartrate11_t *ctx, uint32_t *fifo_data) |
Heart Rate 11 read fifo function. | |
This file contains API for Heart Rate 11 Click Driver.