![]() |
LibDriver MAX30102
|
max30102 handle structure definition More...
#include <driver_max30102.h>
Data Fields | |
| uint8_t(* | iic_init )(void) |
| uint8_t(* | iic_deinit )(void) |
| uint8_t(* | iic_read )(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len) |
| uint8_t(* | iic_write )(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len) |
| void(* | receive_callback )(uint8_t type) |
| void(* | delay_ms )(uint32_t ms) |
| void(* | debug_print )(const char *const fmt,...) |
| uint8_t | inited |
| uint8_t | finished_flag |
| uint16_t | raw |
| float | temperature |
| uint8_t | buf [192] |
max30102 handle structure definition
Definition at line 175 of file driver_max30102.h.
| uint8_t buf[192] |
inner buffer
Definition at line 188 of file driver_max30102.h.
| void(* debug_print) (const char *const fmt,...) |
point to a debug_print function address
Definition at line 183 of file driver_max30102.h.
| void(* delay_ms) (uint32_t ms) |
point to a delay_ms function address
Definition at line 182 of file driver_max30102.h.
| uint8_t finished_flag |
finished flag
Definition at line 185 of file driver_max30102.h.
| uint8_t(* iic_deinit) (void) |
point to an iic_deinit function address
Definition at line 178 of file driver_max30102.h.
| uint8_t(* iic_init) (void) |
point to an iic_init function address
Definition at line 177 of file driver_max30102.h.
| uint8_t(* iic_read) (uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len) |
point to an iic_read function address
Definition at line 179 of file driver_max30102.h.
| uint8_t(* iic_write) (uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len) |
point to an iic_write function address
Definition at line 180 of file driver_max30102.h.
| uint8_t inited |
inited flag
Definition at line 184 of file driver_max30102.h.
| uint16_t raw |
raw
Definition at line 186 of file driver_max30102.h.
| void(* receive_callback) (uint8_t type) |
point to a receive_callback function address
Definition at line 181 of file driver_max30102.h.
| float temperature |
temperature
Definition at line 187 of file driver_max30102.h.