38#define BMP280_USE_SPI FALSE
44#ifndef BMP280_SLAVE_ADDR
45#define BMP280_SLAVE_ADDR BMP280_I2C_ADDR
48#ifndef BMP280_SLAVE_IDX
49#define BMP280_SLAVE_IDX SPI_SLAVE0
Main include for ABI (AirBorneInterface).
#define TEMPERATURE_TYPE_BARO
barometer die
#define BARO_BMP_SENDER_ID
#define BMP280_SLAVE_ADDR
default slave address
void baro_bmp280_periodic(void)
void baro_bmp280_init(void)
void baro_bmp280_event(void)
struct bmp280_t baro_bmp280
Bosch BMP280 sensor interface.
void bmp280_periodic(struct bmp280_t *bmp)
Should be called periodically to request sensor readings.
void bmp280_init(struct bmp280_t *bmp)
Initialize the bmp280 sensor instance.
void bmp280_event(struct bmp280_t *bmp)
Should be called in the event thread.
uint32_t get_sys_time_usec(void)
Get the time in microseconds since startup.
static float pprz_isa_altitude_of_pressure(float pressure)
Get absolute altitude from pressure (using simplified equation).
PRINT_CONFIG_VAR(ONELOOP_ANDI_FILT_CUTOFF)
Paparazzi atmospheric pressure conversion utilities.
Architecture independent timing functions.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.