![]() |
LibDriver MAX30205
|
max30205 example driver modules More...
Functions | |
| uint8_t | max30205_basic_init (max30205_address_t addr_pin) |
| basic example init | |
| uint8_t | max30205_basic_deinit (void) |
| basic example deinit | |
| uint8_t | max30205_basic_read (float *s) |
| basic example read | |
| 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 | |
| uint8_t | max30205_shot_init (max30205_address_t addr_pin) |
| shot example init | |
| uint8_t | max30205_shot_deinit (void) |
| shot example deinit | |
| uint8_t | max30205_shot_read (float *s) |
| shot example read | |
max30205 example driver modules
| #define MAX30205_BASIC_DEFAULT_BUS_TIMEOUT MAX30205_BUS_TIMEOUT_DISABLE |
disable bus timeout
Definition at line 61 of file driver_max30205_basic.h.
| #define MAX30205_BASIC_DEFAULT_DATA_FORMAT MAX30205_DATA_FORMAT_NORMAL |
max30205 basic example default definition
normal data format
Definition at line 57 of file driver_max30205_basic.h.
| #define MAX30205_BASIC_DEFAULT_FAULT_QUEUE MAX30205_FAULT_QUEUE_1 |
fault queue 1
Definition at line 59 of file driver_max30205_basic.h.
| #define MAX30205_BASIC_DEFAULT_INTERRUPT_HIGH_THRESHOLD 39.0f |
39.0 high threshold interrupt
Definition at line 63 of file driver_max30205_basic.h.
| #define MAX30205_BASIC_DEFAULT_INTERRUPT_LOW_THRESHOLD 35.0f |
35.0 low threshold interrupt
Definition at line 62 of file driver_max30205_basic.h.
| #define MAX30205_BASIC_DEFAULT_INTERRUPT_MODE MAX30205_INTERRUPT_MODE_COMPARATOR |
comparator mode
Definition at line 58 of file driver_max30205_basic.h.
| #define MAX30205_BASIC_DEFAULT_PIN_POLARITY MAX30205_PIN_POLARITY_LOW |
polarity low
Definition at line 60 of file driver_max30205_basic.h.
| #define MAX30205_INTERRUPT_DEFAULT_BUS_TIMEOUT MAX30205_BUS_TIMEOUT_DISABLE |
disable bus timeout
Definition at line 58 of file driver_max30205_interrupt.h.
| #define MAX30205_INTERRUPT_DEFAULT_DATA_FORMAT MAX30205_DATA_FORMAT_NORMAL |
max30205 interrupt example default definition
normal data format
Definition at line 55 of file driver_max30205_interrupt.h.
| #define MAX30205_INTERRUPT_DEFAULT_FAULT_QUEUE MAX30205_FAULT_QUEUE_2 |
fault queue 2
Definition at line 56 of file driver_max30205_interrupt.h.
| #define MAX30205_INTERRUPT_DEFAULT_PIN_POLARITY MAX30205_PIN_POLARITY_LOW |
polarity low
Definition at line 57 of file driver_max30205_interrupt.h.
| #define MAX30205_SHOT_DEFAULT_BUS_TIMEOUT MAX30205_BUS_TIMEOUT_DISABLE |
disable bus timeout
Definition at line 59 of file driver_max30205_shot.h.
| #define MAX30205_SHOT_DEFAULT_DATA_FORMAT MAX30205_DATA_FORMAT_NORMAL |
max30205 shot example default definition
normal data format
Definition at line 55 of file driver_max30205_shot.h.
| #define MAX30205_SHOT_DEFAULT_FAULT_QUEUE MAX30205_FAULT_QUEUE_1 |
fault queue 1
Definition at line 57 of file driver_max30205_shot.h.
| #define MAX30205_SHOT_DEFAULT_INTERRUPT_HIGH_THRESHOLD 39.0f |
39.0 high threshold interrupt
Definition at line 61 of file driver_max30205_shot.h.
| #define MAX30205_SHOT_DEFAULT_INTERRUPT_LOW_THRESHOLD 35.0f |
35.0 low threshold interrupt
Definition at line 60 of file driver_max30205_shot.h.
| #define MAX30205_SHOT_DEFAULT_INTERRUPT_MODE MAX30205_INTERRUPT_MODE_COMPARATOR |
comparator mode
Definition at line 56 of file driver_max30205_shot.h.
| #define MAX30205_SHOT_DEFAULT_PIN_POLARITY MAX30205_PIN_POLARITY_LOW |
polarity low
Definition at line 58 of file driver_max30205_shot.h.
| uint8_t max30205_basic_deinit | ( | void | ) |
basic example deinit
Definition at line 216 of file driver_max30205_basic.c.
| uint8_t max30205_basic_init | ( | max30205_address_t | addr_pin | ) |
basic example init
| [in] | addr_pin | iic device address |
Definition at line 50 of file driver_max30205_basic.c.
| uint8_t max30205_basic_read | ( | float * | s | ) |
basic example read
| [out] | *s | pointer to a converted temperature buffer |
Definition at line 194 of file driver_max30205_basic.c.
| uint8_t max30205_interrupt_deinit | ( | void | ) |
interrupt example deinit
Definition at line 219 of file driver_max30205_interrupt.c.
| uint8_t max30205_interrupt_init | ( | max30205_address_t | addr_pin, |
| max30205_interrupt_mode_t | mode, | ||
| float | low, | ||
| float | high ) |
interrupt example init
| [in] | addr_pin | iic device address |
| [in] | mode | interrupt mode |
| [in] | low | interrupt low threshold |
| [in] | high | interrupt high threshold |
Definition at line 53 of file driver_max30205_interrupt.c.
| uint8_t max30205_interrupt_read | ( | float * | s | ) |
interrupt example read
| [out] | *s | pointer to a converted temperature buffer |
Definition at line 197 of file driver_max30205_interrupt.c.
| uint8_t max30205_shot_deinit | ( | void | ) |
shot example deinit
Definition at line 206 of file driver_max30205_shot.c.
| uint8_t max30205_shot_init | ( | max30205_address_t | addr_pin | ) |
shot example init
| [in] | addr_pin | iic device address |
Definition at line 50 of file driver_max30205_shot.c.
| uint8_t max30205_shot_read | ( | float * | s | ) |
shot example read
| [out] | *s | pointer to a converted temperature buffer |
Definition at line 184 of file driver_max30205_shot.c.