baro_spa06

Goertek SPA06 and SPL06 pressure sensor driver for I2C and SPI bus

Configures

Name

Value

Description

SPA06_USE_SPI

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

SPA06_DEV

i2cX/spiX

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

SPA06_SLAVE_IDX

spi_slave0

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

Defines

Name

Value

Description

SPA06_SLAVE_ADDR

SPA06_I2C_ADDR|SPA06_I2C_ADDR_ALT

i2c slave address (default SPA06_I2C_ADDR)

SPA06_SYNC_SEND

flag to transmit the data as it is acquired, good for debugging only

Depends

  • i2c|spi_master

Provides

  • baro