modm API documentation
modm::max31855< SpiMaster, Cs >::Data Struct Reference

Public Member Functions

constexpr Fault getFault () const
 
constexpr float getThermocoupleTemperature () const
 
constexpr float getReferenceJunctionTemperature () const
 

Public Attributes

uint8_t data [4]
 

Member Function Documentation

template<typename SpiMaster , typename Cs >
constexpr Fault modm::max31855< SpiMaster, Cs >::Data::getFault ( ) const
inlineconstexpr
Returns
value associated with the respective fault
template<typename SpiMaster , typename Cs >
constexpr float modm::max31855< SpiMaster, Cs >::Data::getReferenceJunctionTemperature ( ) const
inlineconstexpr
Returns
the reference junction temperature scaled according to the device documentation
template<typename SpiMaster , typename Cs >
constexpr float modm::max31855< SpiMaster, Cs >::Data::getThermocoupleTemperature ( ) const
inlineconstexpr
Returns
the thermocouple temperature scaled according to the device documentation

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