37#ifndef DRIVER_BMP384_FIFO_H 
   38#define DRIVER_BMP384_FIFO_H 
   54#define BMP384_FIFO_DEFAULT_SPI_WIRE                 BMP384_SPI_WIRE_4                         
   55#define BMP384_FIFO_DEFAULT_IIC_WATCHDOG_TIMER       BMP384_BOOL_TRUE                          
   56#define BMP384_FIFO_DEFAULT_IIC_WATCHDOG_PERIOD      BMP384_IIC_WATCHDOG_PERIOD_40_MS          
   57#define BMP384_FIFO_DEFAULT_FIFO_STOP_ON_FULL        BMP384_BOOL_FALSE                         
   58#define BMP384_FIFO_DEFAULT_FIFO_WATERMARK           256                                       
   59#define BMP384_FIFO_DEFAULT_FIFO_SENSORTIME_ON       BMP384_BOOL_TRUE                          
   60#define BMP384_FIFO_DEFAULT_FIFO_PRESSURE_ON         BMP384_BOOL_TRUE                          
   61#define BMP384_FIFO_DEFAULT_FIFO_TEMPERATURE_ON      BMP384_BOOL_TRUE                          
   62#define BMP384_FIFO_DEFAULT_FIFO_SUBSAMPLING         0                                         
   63#define BMP384_FIFO_DEFAULT_FIFO_DATA_SOURCE         BMP384_FIFO_DATA_SOURCE_FILTERED          
   64#define BMP384_FIFO_DEFAULT_INTERRUPT_PIN_TYPE       BMP384_INTERRUPT_PIN_TYPE_PUSH_PULL       
   65#define BMP384_FIFO_DEFAULT_INTERRUPT_ACTIVE_LEVEL   BMP384_INTERRUPT_ACTIVE_LEVEL_HIGHER      
   66#define BMP384_FIFO_DEFAULT_INTERRUPT_WATERMARK      BMP384_BOOL_TRUE                          
   67#define BMP384_FIFO_DEFAULT_INTERRUPT_FIFO_FULL      BMP384_BOOL_FALSE                         
   68#define BMP384_FIFO_DEFAULT_INTERRUPT_DATA_READY     BMP384_BOOL_FALSE                         
   69#define BMP384_FIFO_DEFAULT_LATCH_INTERRUPT          BMP384_BOOL_FALSE                         
   70#define BMP384_FIFO_DEFAULT_PRESSURE                 BMP384_BOOL_TRUE                          
   71#define BMP384_FIFO_DEFAULT_TEMPERATURE              BMP384_BOOL_TRUE                          
   72#define BMP384_FIFO_DEFAULT_PRESSURE_OVERSAMPLING    BMP384_OVERSAMPLING_x32                   
   73#define BMP384_FIFO_DEFAULT_TEMPERATURE_OVERSAMPLING BMP384_OVERSAMPLING_x2                    
   74#define BMP384_FIFO_DEFAULT_ODR                      BMP384_ODR_12P5_HZ                        
   75#define BMP384_FIFO_DEFAULT_FILTER_COEFFICIENT       BMP384_FILTER_COEFFICIENT_15              
   97                         void (*fifo_receive_callback)(uint8_t type));
 
driver bmp384 interface header file
bmp384_interface_t
bmp384 interface enumeration definition
struct bmp384_frame_s bmp384_frame_t
bmp384 frame structure definition
bmp384_address_t
bmp384 address enumeration definition
uint8_t bmp384_fifo_read(uint8_t *buf, uint16_t buf_len, bmp384_frame_t *frame, uint16_t *frame_len)
fifo example read
uint8_t bmp384_fifo_init(bmp384_interface_t interface, bmp384_address_t addr_pin, void(*fifo_receive_callback)(uint8_t type))
fifo example init
uint8_t bmp384_fifo_irq_handler(void)
fifo example irq handler
uint8_t bmp384_fifo_deinit(void)
fifo example deinit