![]() |
LibDriver BMP390
|
bmp390 handle structure definition More...
#include <driver_bmp390.h>
Data Fields | |
| uint8_t | iic_addr |
| uint8_t | buf [512+1] |
| 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) |
| uint8_t(* | spi_init )(void) |
| uint8_t(* | spi_deinit )(void) |
| uint8_t(* | spi_read )(uint8_t reg, uint8_t *buf, uint16_t len) |
| uint8_t(* | spi_write )(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 | iic_spi |
| uint16_t | t1 |
| uint16_t | t2 |
| int8_t | t3 |
| int16_t | p1 |
| int16_t | p2 |
| int8_t | p3 |
| int8_t | p4 |
| uint16_t | p5 |
| uint16_t | p6 |
| int8_t | p7 |
| int8_t | p8 |
| int16_t | p9 |
| int8_t | p10 |
| int8_t | p11 |
| int64_t | t_fine |
bmp390 handle structure definition
Definition at line 259 of file driver_bmp390.h.
| uint8_t buf[512+1] |
inner buffer
Definition at line 262 of file driver_bmp390.h.
| void(* debug_print) (const char *const fmt,...) |
point to a debug_print function address
Definition at line 273 of file driver_bmp390.h.
| void(* delay_ms) (uint32_t ms) |
point to a delay_ms function address
Definition at line 272 of file driver_bmp390.h.
| uint8_t iic_addr |
iic device address
Definition at line 261 of file driver_bmp390.h.
| uint8_t(* iic_deinit) (void) |
point to an iic_deinit function address
Definition at line 264 of file driver_bmp390.h.
| uint8_t(* iic_init) (void) |
point to an iic_init function address
Definition at line 263 of file driver_bmp390.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 265 of file driver_bmp390.h.
| uint8_t iic_spi |
iic spi interface
Definition at line 275 of file driver_bmp390.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 266 of file driver_bmp390.h.
| uint8_t inited |
inited flag
Definition at line 274 of file driver_bmp390.h.
| int16_t p1 |
p1 register
Definition at line 279 of file driver_bmp390.h.
| int8_t p10 |
p10 register
Definition at line 288 of file driver_bmp390.h.
| int8_t p11 |
p11 register
Definition at line 289 of file driver_bmp390.h.
| int16_t p2 |
p2 register
Definition at line 280 of file driver_bmp390.h.
| int8_t p3 |
p3 register
Definition at line 281 of file driver_bmp390.h.
| int8_t p4 |
p4 register
Definition at line 282 of file driver_bmp390.h.
| uint16_t p5 |
p5 register
Definition at line 283 of file driver_bmp390.h.
| uint16_t p6 |
p6 register
Definition at line 284 of file driver_bmp390.h.
| int8_t p7 |
p7 register
Definition at line 285 of file driver_bmp390.h.
| int8_t p8 |
p8 register
Definition at line 286 of file driver_bmp390.h.
| int16_t p9 |
p9 register
Definition at line 287 of file driver_bmp390.h.
| void(* receive_callback) (uint8_t type) |
point to a receive_callback function address
Definition at line 271 of file driver_bmp390.h.
| uint8_t(* spi_deinit) (void) |
point to a spi_deinit function address
Definition at line 268 of file driver_bmp390.h.
| uint8_t(* spi_init) (void) |
point to a spi_init function address
Definition at line 267 of file driver_bmp390.h.
| uint8_t(* spi_read) (uint8_t reg, uint8_t *buf, uint16_t len) |
point to a spi_read function address
Definition at line 269 of file driver_bmp390.h.
| uint8_t(* spi_write) (uint8_t reg, uint8_t *buf, uint16_t len) |
point to a spi_write function address
Definition at line 270 of file driver_bmp390.h.
| uint16_t t1 |
t1 register
Definition at line 276 of file driver_bmp390.h.
| uint16_t t2 |
t2 register
Definition at line 277 of file driver_bmp390.h.
| int8_t t3 |
t3 register
Definition at line 278 of file driver_bmp390.h.
| int64_t t_fine |
t_fine register
Definition at line 290 of file driver_bmp390.h.