31 #ifndef PIOS_BMP280_PRIV_H
32 #define PIOS_BMP280_PRIV_H
34 #define BMP280_STANDARD_RESOLUTION 0x2D
35 #define BMP280_HIGH_RESOLUTION 0x31
36 #define BMP280_ULTRA_HIGH_RESOLUTION 0x55
Configuration structure for the BMP280 driver.
static struct flyingpicmd_cfg_fa cfg
struct pios_i2c_adapter * pios_i2c_t
int32_t PIOS_BMP280_SPI_Init(const struct pios_bmp280_cfg *cfg, pios_spi_t spi_device, uint32_t spi_slave)
int32_t PIOS_BMP280_Init(const struct pios_bmp280_cfg *cfg, pios_i2c_t i2c_device)