static PrintLogger getLogger(const string &name)
MAX31855 thermocouple sensor driver.
TemperatureData sampleImpl() override
Read a data sample from the sensor. In case of errors, the method should return the last available co...
bool init()
Initialize the sensor.
bool selfTest()
Check if the sensor is working.
static SPIBusConfig getDefaultSPIConfig()
MAX31855(SPIBusInterface &bus, miosix::GpioPin cs, SPIBusConfig config=getDefaultSPIConfig())
bool checkConnected()
Checks whether the thermocouple is connected or not.
TemperatureData readInternalTemperature()
Read the device internal temperature (cold junction).
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.
SPI Bus configuration for a specific slave.
Contains information about a single SPI slave device.