dRonin
adbada4
dRonin firmware
|
Driver for BMP280. More...
Data Structures | |
struct | pios_bmp280_cfg |
Configuration structure for the BMP280 driver. More... | |
Macros | |
#define | BMP280_STANDARD_RESOLUTION 0x2D |
#define | BMP280_HIGH_RESOLUTION 0x31 |
#define | BMP280_ULTRA_HIGH_RESOLUTION 0x55 |
Functions | |
int32_t | PIOS_BMP280_Init (const struct pios_bmp280_cfg *cfg, pios_i2c_t i2c_device) |
int32_t | PIOS_BMP280_SPI_Init (const struct pios_bmp280_cfg *cfg, pios_spi_t spi_device, uint32_t spi_slave) |
Driver for BMP280.
#define BMP280_HIGH_RESOLUTION 0x31 |
Definition at line 35 of file pios_bmp280_priv.h.
#define BMP280_STANDARD_RESOLUTION 0x2D |
Definition at line 34 of file pios_bmp280_priv.h.
#define BMP280_ULTRA_HIGH_RESOLUTION 0x55 |
Definition at line 36 of file pios_bmp280_priv.h.
int32_t PIOS_BMP280_Init | ( | const struct pios_bmp280_cfg * | cfg, |
pios_i2c_t | i2c_device | ||
) |
int32_t PIOS_BMP280_SPI_Init | ( | const struct pios_bmp280_cfg * | cfg, |
pios_spi_t | spi_device, | ||
uint32_t | spi_slave | ||
) |