LibDriver MAX30205
Loading...
Searching...
No Matches
driver_max30205_interrupt.h
Go to the documentation of this file.
1
37
38#ifndef DRIVER_MAX30205_INTERRUPT_H
39#define DRIVER_MAX30205_INTERRUPT_H
40
42
43#ifdef __cplusplus
44extern "C"{
45#endif
46
51
55#define MAX30205_INTERRUPT_DEFAULT_DATA_FORMAT MAX30205_DATA_FORMAT_NORMAL
56#define MAX30205_INTERRUPT_DEFAULT_FAULT_QUEUE MAX30205_FAULT_QUEUE_2
57#define MAX30205_INTERRUPT_DEFAULT_PIN_POLARITY MAX30205_PIN_POLARITY_LOW
58#define MAX30205_INTERRUPT_DEFAULT_BUS_TIMEOUT MAX30205_BUS_TIMEOUT_DISABLE
59
71uint8_t max30205_interrupt_init(max30205_address_t addr_pin, max30205_interrupt_mode_t mode, float low, float high);
72
80uint8_t max30205_interrupt_deinit(void);
81
90uint8_t max30205_interrupt_read(float *s);
91
95
96#ifdef __cplusplus
97}
98#endif
99
100#endif
driver max30205 interface header file
max30205_address_t
max30205 address enumeration definition
uint8_t max30205_interrupt_init(max30205_address_t addr_pin, max30205_interrupt_mode_t mode, float low, float high)
interrupt example init
uint8_t max30205_interrupt_deinit(void)
interrupt example deinit
uint8_t max30205_interrupt_read(float *s)
interrupt example read
max30205_interrupt_mode_t
max30205 interrupt mode enumeration definition