oximeter5 2.0.0.0
|
This file contains API for Oximeter 5 Click Driver. More...
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | oximeter5_t |
Oximeter 5 Click context object. More... | |
struct | oximeter5_cfg_t |
Oximeter 5 Click configuration object. More... | |
Enumerations | |
enum | oximeter5_return_value_t { OXIMETER5_OK = 0 , OXIMETER5_ERROR = -1 } |
Oximeter 5 Click return value data. More... | |
Functions | |
void | oximeter5_cfg_setup (oximeter5_cfg_t *cfg) |
Oximeter 5 configuration object setup function. | |
err_t | oximeter5_init (oximeter5_t *ctx, oximeter5_cfg_t *cfg) |
Oximeter 5 initialization function. | |
err_t | oximeter5_default_cfg (oximeter5_t *ctx) |
Oximeter 5 default configuration function. | |
err_t | oximeter5_generic_write (oximeter5_t *ctx, uint8_t reg, uint8_t *tx_buf, uint8_t tx_len) |
Oximeter 5 I2C writing function. | |
err_t | oximeter5_generic_read (oximeter5_t *ctx, uint8_t reg, uint8_t *rx_buf, uint8_t rx_len) |
Oximeter 5 I2C reading function. | |
uint8_t | oximeter5_check_interrupt (oximeter5_t *ctx) |
Oximeter 5 check interrupt function. | |
err_t | oximeter5_sw_reset (oximeter5_t *ctx) |
Oximeter 5 soft reset function. | |
err_t | oximeter5_read_temperature (oximeter5_t *ctx, float *temperature) |
Oximeter 5 read temperature function. | |
err_t | oximeter5_set_fifo_wr_pointer (oximeter5_t *ctx, uint8_t fifo_wr_p) |
Oximeter 5 set FIFO write pointer function. | |
err_t | oximeter5_set_fifo_rd_pointer (oximeter5_t *ctx, uint8_t fifo_rd_p) |
Oximeter 5 set FIFO read pointer function. | |
err_t | oximeter5_set_fifo_cfg (oximeter5_t *ctx, uint8_t smp_ave, uint8_t fifo_ro_en, uint8_t fifo_a_full) |
Oximeter 5 set FIFO config function. | |
err_t | oximeter5_set_mode_cfg (oximeter5_t *ctx, uint8_t mode) |
Oximeter 5 set mode config function. | |
err_t | oximeter5_set_spo2_cfg (oximeter5_t *ctx, uint8_t spo2_adc_rge, uint8_t spo2_sr, uint8_t led_pw) |
Oximeter 5 set SpO2 config function. | |
err_t | oximeter5_read_sensor_data (oximeter5_t *ctx, uint32_t *ir, uint32_t *red) |
Oximeter 5 get sensor data function. | |
err_t | oximeter5_get_oxygen_saturation (uint32_t *pun_ir_buffer, int32_t n_ir_buffer_length, uint32_t *pun_red_buffer, uint8_t *pn_spo2) |
Oximeter 5 get oxygen saturation function. | |
err_t | oximeter5_get_heart_rate (uint32_t *pun_ir_buffer, int32_t n_ir_buffer_length, uint32_t *pun_red_buffer, int32_t *pn_heart_rate) |
Oximeter 5 get heart rate function. | |
This file contains API for Oximeter 5 Click Driver.