37#ifndef DRIVER_BMP384_INTERRUPT_H 
   38#define DRIVER_BMP384_INTERRUPT_H 
   54#define BMP384_INTERRUPT_DEFAULT_SPI_WIRE                 BMP384_SPI_WIRE_4                         
   55#define BMP384_INTERRUPT_DEFAULT_IIC_WATCHDOG_TIMER       BMP384_BOOL_FALSE                         
   56#define BMP384_INTERRUPT_DEFAULT_IIC_WATCHDOG_PERIOD      BMP384_IIC_WATCHDOG_PERIOD_1P25_MS        
   57#define BMP384_INTERRUPT_DEFAULT_INTERRUPT_PIN_TYPE       BMP384_INTERRUPT_PIN_TYPE_PUSH_PULL       
   58#define BMP384_INTERRUPT_DEFAULT_INTERRUPT_ACTIVE_LEVEL   BMP384_INTERRUPT_ACTIVE_LEVEL_HIGHER      
   59#define BMP384_INTERRUPT_DEFAULT_PRESSURE                 BMP384_BOOL_TRUE                          
   60#define BMP384_INTERRUPT_DEFAULT_TEMPERATURE              BMP384_BOOL_TRUE                          
   61#define BMP384_INTERRUPT_DEFAULT_PRESSURE_OVERSAMPLING    BMP384_OVERSAMPLING_x32                   
   62#define BMP384_INTERRUPT_DEFAULT_TEMPERATURE_OVERSAMPLING BMP384_OVERSAMPLING_x2                    
   63#define BMP384_INTERRUPT_DEFAULT_ODR                      BMP384_ODR_12P5_HZ                        
   64#define BMP384_INTERRUPT_DEFAULT_FILTER_COEFFICIENT       BMP384_FILTER_COEFFICIENT_15              
   86                              void (*interrupt_receive_callback)(uint8_t type));
 
driver bmp384 interface header file
bmp384_interface_t
bmp384 interface enumeration definition
bmp384_address_t
bmp384 address enumeration definition
uint8_t bmp384_interrupt_init(bmp384_interface_t interface, bmp384_address_t addr_pin, void(*interrupt_receive_callback)(uint8_t type))
interrupt example init
uint8_t bmp384_interrupt_read(float *temperature_c, float *pressure_pa)
interrupt example read
uint8_t bmp384_interrupt_irq_handler(void)
interrupt example irq handler
uint8_t bmp384_interrupt_deinit(void)
interrupt example deinit