38#ifndef DRIVER_BMP388_FIFO_H
39#define DRIVER_BMP388_FIFO_H
55#define BMP388_FIFO_DEFAULT_SPI_WIRE BMP388_SPI_WIRE_4
56#define BMP388_FIFO_DEFAULT_IIC_WATCHDOG_TIMER BMP388_BOOL_TRUE
57#define BMP388_FIFO_DEFAULT_IIC_WATCHDOG_PERIOD BMP388_IIC_WATCHDOG_PERIOD_40_MS
58#define BMP388_FIFO_DEFAULT_FIFO_STOP_ON_FULL BMP388_BOOL_FALSE
59#define BMP388_FIFO_DEFAULT_FIFO_WATERMARK 256
60#define BMP388_FIFO_DEFAULT_FIFO_SENSORTIME_ON BMP388_BOOL_TRUE
61#define BMP388_FIFO_DEFAULT_FIFO_PRESSURE_ON BMP388_BOOL_TRUE
62#define BMP388_FIFO_DEFAULT_FIFO_TEMPERATURE_ON BMP388_BOOL_TRUE
63#define BMP388_FIFO_DEFAULT_FIFO_SUBSAMPLING 0
64#define BMP388_FIFO_DEFAULT_FIFO_DATA_SOURCE BMP388_FIFO_DATA_SOURCE_FILTERED
65#define BMP388_FIFO_DEFAULT_INTERRUPT_PIN_TYPE BMP388_INTERRUPT_PIN_TYPE_PUSH_PULL
66#define BMP388_FIFO_DEFAULT_INTERRUPT_ACTIVE_LEVEL BMP388_INTERRUPT_ACTIVE_LEVEL_HIGHER
67#define BMP388_FIFO_DEFAULT_INTERRUPT_WATERMARK BMP388_BOOL_TRUE
68#define BMP388_FIFO_DEFAULT_INTERRUPT_FIFO_FULL BMP388_BOOL_FALSE
69#define BMP388_FIFO_DEFAULT_INTERRUPT_DATA_READY BMP388_BOOL_FALSE
70#define BMP388_FIFO_DEFAULT_LATCH_INTERRUPT BMP388_BOOL_FALSE
71#define BMP388_FIFO_DEFAULT_PRESSURE BMP388_BOOL_TRUE
72#define BMP388_FIFO_DEFAULT_TEMPERATURE BMP388_BOOL_TRUE
73#define BMP388_FIFO_DEFAULT_PRESSURE_OVERSAMPLING BMP388_OVERSAMPLING_x32
74#define BMP388_FIFO_DEFAULT_TEMPERATURE_OVERSAMPLING BMP388_OVERSAMPLING_x2
75#define BMP388_FIFO_DEFAULT_ODR BMP388_ODR_12P5_HZ
76#define BMP388_FIFO_DEFAULT_FILTER_COEFFICIENT BMP388_FILTER_COEFFICIENT_15
98 void (*fifo_receive_callback)(uint8_t type));
driver bmp388 interface header file
bmp388_interface_t
bmp388 interface enumeration definition
struct bmp388_frame_s bmp388_frame_t
bmp388 frame structure definition
bmp388_address_t
bmp388 address enumeration definition
uint8_t bmp388_fifo_init(bmp388_interface_t interface, bmp388_address_t addr_pin, void(*fifo_receive_callback)(uint8_t type))
fifo example init
uint8_t bmp388_fifo_read(uint8_t *buf, uint16_t buf_len, bmp388_frame_t *frame, uint16_t *frame_len)
fifo example read
uint8_t bmp388_fifo_deinit(void)
fifo example deinit
uint8_t bmp388_fifo_irq_handler(void)
fifo example irq handler