|
HardFOC Core
API reference
|
Handler for the Bosch BMP581 barometric pressure sensor on a BaseI2c.
More...
#include <atomic>#include <cstddef>#include <cstdint>#include <memory>#include "base/BaseI2c.h"#include "core/hf-core-drivers/external/hf-bmp581-driver/inc/bmp581.hpp"#include "RtosMutex.h"Go to the source code of this file.
Classes | |
| class | HalI2cBmp581Comm |
CRTP register transport bridging bmp581::BusInterface to a BaseI2c device. More... | |
| struct | Bmp581HandlerConfig |
| Construction-time configuration for one BMP581. More... | |
| class | Bmp581Handler |
Handler wrapping one BMP581 on a BaseI2c device. More... | |
| struct | Bmp581Handler::Counters |
| Diagnostics counters since construction. More... | |
Handler for the Bosch BMP581 barometric pressure sensor on a BaseI2c.
Bridges the templated bmp581::Driver<BusT> (hf-bmp581-driver) to the HardFOC BaseI2c device interface through an internal CRTP register adapter, and exposes a narrow, mutex-protected API: probe (chip id + NVM ready), configure, read pressure/temperature.
Ownership: the caller owns the BaseI2c device (address 0x46/0x47 pre-configured); the handler owns the adapter and the driver. Bring-up is lazy and idempotent.