|
BMP581 Driver 0.1.0
API reference
|
| ▼Nbmp581 | The BMP581 driver: everything it declares lives here; internals in detail |
| Ni2c | 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) |
| Nreg | The BMP581 register map |
| Nspi | What the BMP581 needs from the SPI bus (sections 5.2.1, 5.5, table 18). A port and a board configuration check their settings against these with static_assert (handbook KB-CPP-123) |
| CBMP581 | Driver for one BMP581 on a platform port |
| CCheckedConfig | A configuration proven valid at build time |
| CConfig | Everything EnsureInitialized() and ApplyConfig() write to the chip |
| CFifoSample | One FIFO frame, with its own validity: a multi-item read reports each item |
| CI2cInterface | CRTP base of the platform I2C port |
| CInterruptStatus | The interrupt status flags, INT_STATUS (section 7.21), decoded. Reading INT_STATUS clears them on the chip (the FIFO flags stay while their condition holds, section 4.7.3.2) |
| CMeasurement | One measurement in the chip's own units, as the data registers hold it (section 4.5) |
| CResult | The value of a call, or why there is none |
| CResult< void > | The result of a call that returns no value |
| CSpiInterface | CRTP base of the platform SPI port |
| RBusPort | A port the driver accepts: an I2cPort or an SpiPort, never both, so the bus framing is never ambiguous |
| RI2cPort | Satisfied by a class that derives from I2cInterface<Port> and implements the required hooks with exactly the types above, noexcept and returning bool |
| RSpiPort | Satisfied by a class that derives from SpiInterface<Port> and implements the required hooks with exactly the types above, noexcept and returning bool (KB-CPP20-006) |