modm API documentation
modm::max31855< SpiMaster, Cs > Class Template Reference

#include <modm/driver/temperature/max31855.hpp>

Inheritance diagram for modm::max31855< SpiMaster, Cs >:
modm::SpiDevice< SpiMaster >

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.
 
DatagetData ()
 Get the data object for this sensor.
 
void attachConfigurationHandler (Spi::ConfigurationHandler handler)
 

Protected Member Functions

bool acquireMaster ()
 
bool releaseMaster ()
 

Detailed Description

template<typename SpiMaster, typename Cs>
class modm::max31855< SpiMaster, Cs >

Template Parameters
SpiMaster
Cs

Member Function Documentation

template<typename SpiMaster , typename Cs >
modm::max31855< SpiMaster, Cs >::Max31855 ( Data data)
Parameters
datapointer to buffer of the internal data of type Data

The documentation for this class was generated from the following file: