|
BMP581 Driver 1.0.0
API reference
|
Bosch BMP581 barometric pressure sensor client (I2C or SPI via CRTP bus). More...
#include "bmp581_bus_interface.hpp"#include "bmp581_registers.hpp"#include "bmp581_types.hpp"#include <cstddef>#include <cstdint>Go to the source code of this file.
Classes | |
| class | bmp581::Driver< BusT > |
| BMP581 client. More... | |
Namespaces | |
| namespace | bmp581 |
Bosch BMP581 barometric pressure sensor client (I2C or SPI via CRTP bus).
Ported from the register sequences of the Bosch BMP5 Sensor API (v1.1.1, BSD-3) into a header-only C++17 driver: chip-id / NVM-ready init, soft reset with the CHIP_ID / STATUS / POR check, power modes with the mandatory standby hop, OSR/ODR, IIR (standby-only write, mode restored), interrupt pin / source configuration, data-ready polling, 24-bit pressure (1/64 Pa) and temperature (1/65536 °C) read, and NVM user-word read. FIFO is intentionally out of scope.
Typical session: