static SPIBusConfig getDefaultSPIConfig()
H3LIS331DL(SPIBusInterface &spiBus, miosix::GpioPin cs, H3LIS331DLDefs::OutputDataRate odr, H3LIS331DLDefs::BlockDataUpdate bdu, H3LIS331DLDefs::FullScaleRange fs)
Creates an instance of an H3LIS331DL sensor.
H3LIS331DLData sampleImpl() override
Samples data from the register.
bool init()
Initializes the H3LIS331DL.
bool selfTest()
This method does nothing as no self test is implemented in the sensor.
static PrintLogger getLogger(const string &name)
Interface for low level access of a SPI bus as a master.
Base sensor class with has to be extended by any sensor driver.
FullScaleRange
Constants for the FullScale Range.
BlockDataUpdate
Constants for Block Data Update.
OutputDataRate
Constants for Output Data Rate configuration.
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.