BMP581 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Classes | Namespaces | Concepts
bmp581.hpp File Reference

BMP581 driver: the one header to include. More...

#include <algorithm>
#include <array>
#include <cstddef>
#include <cstdint>
#include <span>
#include "bmp581_detail.hpp"
#include "bmp581_i2c_interface.hpp"
#include "bmp581_registers.hpp"
#include "bmp581_spi_interface.hpp"
#include "bmp581_types.hpp"
#include "bmp581_version.h"
#include "../src/bmp581.ipp"

Go to the source code of this file.

Classes

class  bmp581::BMP581< Port >
 Driver for one BMP581 on a platform port. More...
 

Namespaces

namespace  bmp581
 The BMP581 driver: everything it declares lives here; internals in detail.
 

Concepts

concept  bmp581::BusPort
 A port the driver accepts: an I2cPort or an SpiPort, never both, so the bus framing is never ambiguous.
 

Detailed Description

BMP581 driver: the one header to include.

bmp581::BMP581<Port> drives one Bosch BMP581 barometric pressure and temperature sensor through a platform port you write, on I2C (bmp581_i2c_interface.hpp) or four-wire SPI (bmp581_spi_interface.hpp). The driver has no platform code, allocates nothing, throws nothing, takes no lock and is not thread-safe: give each object one owner, or guard it with one mutex.

Section, table and figure numbers refer to the Bosch BMP581 datasheet, document BST-BMP581-DS004-13, revision 1.13.