modm API documentation
|
#include <modm/driver/temperature/max31855.hpp>
Classes | |
struct | Data |
Public Types | |
enum | Fault : uint8_t { ShortCircuitVcc = Bit2, ShortCircuitGnd = Bit1, OpenCircuit = Bit0 } |
Thermocouple fault bits. | |
Public Member Functions | |
Max31855 (Data &data) | |
void | initialize () |
Call this function once before using the device. | |
void | readout () |
Read the raw data from the sensor. | |
Data & | getData () |
Get the data object for this sensor. | |
void | attachConfigurationHandler (Spi::ConfigurationHandler handler) |
Protected Member Functions | |
bool | acquireMaster () |
bool | releaseMaster () |
modm::max31855< SpiMaster, Cs >::Max31855 | ( | Data & | data | ) |
data | pointer to buffer of the internal data of type Data |