68 uint16_t syncOutSkipFactor);
104 bool checkModelNumber();
111 void sendDummyPacket();
142 const uint32_t payloadSize);
154 const uint8_t* payloadBuf,
155 const uint32_t payloadSize);
166 const uint16_t syncOutSkipFactor = 0;
static PrintLogger getLogger(const string &name)
Driver for STM32 low level SPI peripheral.
Base sensor class with has to be extended by any sensor driver.
Driver class for VN100 Spi IMU.
bool selfTest() override
Performs self test for the sensor.
VN100Spi(SPIBus &bus, miosix::GpioPin csPin, SPIBusConfig busConfiguration, uint16_t syncOutSkipFactor)
VN100 constructor.
PressureData getPressure()
Retrieve pressure data from the sensor [kPa].
VN100SpiData sampleImpl() override
Gather data from the sensor.
bool init() override
Initialize the sensor.
TemperatureData getTemperature()
Retrieve temperature data from the sensor [°C].
VNErrors
Error codes of the sensor.
This file includes all the types the logdecoder script will decode.
SPI Bus configuration for a specific slave.
Contains information about a single SPI slave device.
Data type class for VN100 Spi.