LibDriver MAX30205
Loading...
Searching...
No Matches
driver_max30205_basic.h
Go to the documentation of this file.
1
37
38#ifndef DRIVER_MAX30205_BASIC_H
39#define DRIVER_MAX30205_BASIC_H
40
42
43#ifdef __cplusplus
44extern "C"{
45#endif
46
53
57#define MAX30205_BASIC_DEFAULT_DATA_FORMAT MAX30205_DATA_FORMAT_NORMAL
58#define MAX30205_BASIC_DEFAULT_INTERRUPT_MODE MAX30205_INTERRUPT_MODE_COMPARATOR
59#define MAX30205_BASIC_DEFAULT_FAULT_QUEUE MAX30205_FAULT_QUEUE_1
60#define MAX30205_BASIC_DEFAULT_PIN_POLARITY MAX30205_PIN_POLARITY_LOW
61#define MAX30205_BASIC_DEFAULT_BUS_TIMEOUT MAX30205_BUS_TIMEOUT_DISABLE
62#define MAX30205_BASIC_DEFAULT_INTERRUPT_LOW_THRESHOLD 35.0f
63#define MAX30205_BASIC_DEFAULT_INTERRUPT_HIGH_THRESHOLD 39.0f
64
74
82uint8_t max30205_basic_deinit(void);
83
92uint8_t max30205_basic_read(float *s);
93
97
98#ifdef __cplusplus
99}
100#endif
101
102#endif
driver max30205 interface header file
max30205_address_t
max30205 address enumeration definition
uint8_t max30205_basic_deinit(void)
basic example deinit
uint8_t max30205_basic_read(float *s)
basic example read
uint8_t max30205_basic_init(max30205_address_t addr_pin)
basic example init