BMP581 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Variables
bmp581::i2c Namespace Reference

What the BMP581 needs from the I2C bus (sections 5.6, 6.2.3, table 4). A port and a board configuration check their settings against these with static_assert (handbook KB-CPP-123). More...

Variables

constexpr uint8_t kI2cAddress = 0x46
 7-bit address with SDO low (section 5.6). SDO must not float on I2C.
 
constexpr uint8_t kI2cAddressSdoHigh = 0x47
 7-bit address with SDO high (section 5.6).
 
constexpr uint32_t kMaxClockHz = 1'000'000
 Highest SCL frequency: fast mode plus, with C_bus below 100 pF (table 4, f_i2c).
 
constexpr uint32_t kMinClockHz = 100'000
 Lowest SCL frequency (table 4, f_i2c).
 
constexpr bool kRepeatedStart = false
 

Detailed Description

What the BMP581 needs from the I2C bus (sections 5.6, 6.2.3, table 4). A port and a board configuration check their settings against these with static_assert (handbook KB-CPP-123).

Variable Documentation

◆ kRepeatedStart

constexpr bool bmp581::i2c::kRepeatedStart = false
inlineconstexpr

false: the chip keeps the register address across a STOP, so a read may use a repeated START or a STOP and a START (section 5.6.2, figures 15 and 16). The driver always calls WriteRead().