|
modm API documentation
|
#include <modm/driver/pressure/ms5611.hpp>
Public Typedefs | |
| using | Prom = modm::ms5611data::Prom |
| using | Data = modm::ms5611data::Data |
| using | DataBase = modm::ms5611data::DataBase |
Public Types | |
| enum | OversamplingRatio : uint8_t { Osr256 = 0x00, Osr512 = 0x02, Osr1024 = 0x04, Osr2048 = 0x06, Osr4096 = 0x08 } |
Public Member Functions | |
| Ms5611 (DataBase &data) | |
| bool | initialize () |
| void | readout (OversamplingRatio osrPressure=OversamplingRatio::Osr256, OversamplingRatio osrTemperature=OversamplingRatio::Osr256) |
| Do a readout sequence to convert and read temperature and then pressure from sensor. | |
| DataBase & | getData () |
| Get the data object for this sensor. | |
Call this function before using the device to read the factory calibration
| modm::ms5611< SpiMaster, Cs >::Ms5611 | ( | DataBase & | data | ) |
| data | pointer to buffer of the internal data of type Data |