76 SPIBusConfig spiConfig = {}, uint16_t temperatureDivider = 1);
103 uint16_t temperatureDivider;
106 uint32_t rawTemperature = 0;
107 uint32_t rawPressure = 0;
108 uint64_t lastTemperatureTimestamp = 0;
109 uint16_t tempCounter = 0;
static PrintLogger getLogger(const string &name)
MS5803(SPIBusInterface &spiBus, miosix::GpioPin cs, SPIBusConfig spiConfig={}, uint16_t temperatureDivider=1)
bool init() override
Initialize the sensor.
static constexpr uint8_t TIMEOUT
MS5803Data sampleImpl() override
bool selfTest() override
Check if the sensor is working.
Interface for low level access of a SPI bus as a master.
Base sensor class with has to be extended by any sensor driver.
This file includes all the types the logdecoder script will decode.
MS5803 calibration data. See page 13 of datasheet for more details.
SPI Bus configuration for a specific slave.
Contains information about a single SPI slave device.