37#ifndef DRIVER_BMP390_INTERRUPT_H
38#define DRIVER_BMP390_INTERRUPT_H
54#define BMP390_INTERRUPT_DEFAULT_SPI_WIRE BMP390_SPI_WIRE_4
55#define BMP390_INTERRUPT_DEFAULT_IIC_WATCHDOG_TIMER BMP390_BOOL_FALSE
56#define BMP390_INTERRUPT_DEFAULT_IIC_WATCHDOG_PERIOD BMP390_IIC_WATCHDOG_PERIOD_1P25_MS
57#define BMP390_INTERRUPT_DEFAULT_INTERRUPT_PIN_TYPE BMP390_INTERRUPT_PIN_TYPE_PUSH_PULL
58#define BMP390_INTERRUPT_DEFAULT_INTERRUPT_ACTIVE_LEVEL BMP390_INTERRUPT_ACTIVE_LEVEL_HIGHER
59#define BMP390_INTERRUPT_DEFAULT_PRESSURE BMP390_BOOL_TRUE
60#define BMP390_INTERRUPT_DEFAULT_TEMPERATURE BMP390_BOOL_TRUE
61#define BMP390_INTERRUPT_DEFAULT_PRESSURE_OVERSAMPLING BMP390_OVERSAMPLING_x32
62#define BMP390_INTERRUPT_DEFAULT_TEMPERATURE_OVERSAMPLING BMP390_OVERSAMPLING_x2
63#define BMP390_INTERRUPT_DEFAULT_ODR BMP390_ODR_12P5_HZ
64#define BMP390_INTERRUPT_DEFAULT_FILTER_COEFFICIENT BMP390_FILTER_COEFFICIENT_15
86 void (*interrupt_receive_callback)(uint8_t type));
driver bmp390 interface header file
bmp390_interface_t
bmp390 interface enumeration definition
bmp390_address_t
bmp390 address enumeration definition
uint8_t bmp390_interrupt_init(bmp390_interface_t interface, bmp390_address_t addr_pin, void(*interrupt_receive_callback)(uint8_t type))
interrupt example init
uint8_t bmp390_interrupt_irq_handler(void)
interrupt example irq handler
uint8_t bmp390_interrupt_deinit(void)
interrupt example deinit
uint8_t bmp390_interrupt_read(float *temperature_c, float *pressure_pa)
interrupt example read