oximeter 2.0.0.0
|
This file contains API for Oximeter 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 | oximeter_t |
Click ctx object definition. More... | |
struct | oximeter_cfg_t |
Click configuration structure definition. More... | |
struct | oximeter_enable_t |
Functions | |
void | oximeter_cfg_setup (oximeter_cfg_t *cfg) |
Config Object Initialization function. | |
err_t | oximeter_init (oximeter_t *ctx, oximeter_cfg_t *cfg) |
Initialization function. | |
void | oximeter_default_cfg (oximeter_t *ctx) |
Click Default Configuration function. | |
err_t | oximeter_write_reg (oximeter_t *ctx, uint8_t reg, uint16_t data_in) |
Generic Write function. | |
err_t | oximeter_read_reg (oximeter_t *ctx, uint8_t reg, uint16_t *data_out, uint8_t len) |
Generic Read function. | |
err_t | oximeter_set_time_slot_a (oximeter_t *ctx, oximeter_enable_t *dev_enable, uint8_t set_mode) |
Time Slot A Set function. | |
err_t | oximeter_set_time_slot_b (oximeter_t *ctx, oximeter_enable_t *dev_enable, uint8_t set_mode) |
Time Slot B Set function. | |
err_t | oximeter_enable_channels (oximeter_t *ctx, uint8_t select_channel) |
Channels Enable function. | |
void | oximeter_read_data (oximeter_t *ctx, uint32_t *chann_results, uint8_t result_mode) |
Data Read function. | |
uint8_t | oximeter_get_int_gpio0 (oximeter_t *ctx) |
GPIO0 Interrupt Get function. | |
uint8_t | oximeter_get_int_gpio1 (oximeter_t *ctx) |
GPIO1 Interrupt Get function. | |
void | oximeter_reset (oximeter_t *ctx) |
Reset function. | |
err_t | oximeter_set_mode (oximeter_t *ctx, uint16_t select_mode) |
Mode Set function. | |
This file contains API for Oximeter Click driver.