dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

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)
 

Detailed Description

Driver for BMP280.

Macro Definition Documentation

#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.

Function Documentation

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 
)