baro_bmp280

Bosch-Sensortech BMP280xx pressure sensor (I2C or SPI)

Configures

Name

Value

Description

BMP280_USE_SPI

select which bus type use (default I2C -> FALSE, SPI -> TRUE)

BMP280_DEV

i2cX/spiX

select which i2c/spi peripheral to use (default i2c1/spi1)

BMP280_SLAVE_IDX

spi_slave0

select which slave peripheral to use when bus is spi (default spi_slave0)

Defines

Name

Value

Description

BMP280_SLAVE_ADDR

BMP280_I2C_ADDR|BMP280_I2C_ADDR_ALT

i2c slave address (default BMP280_I2C_ADDR)

BMP280_SYNC_SEND

flag to transmit the data as it is acquired

Depends

  • i2c|spi_master

Provides

  • baro