modm API documentation
modm::max31865< SpiMaster, Cs, pt >::Data< pt > Struct Template Reference

Public Member Functions

constexpr float getResistance () const
 
constexpr float getTemperatureFast () const
 
constexpr double getTemperaturePrecise () const
 

Public Attributes

uint16_t data
 

Member Function Documentation

template<typename SpiMaster , typename Cs , max31865::Pt pt = max31865::pt100>
template<Pt pt>
constexpr float modm::max31865< SpiMaster, Cs, pt >::Data< pt >::getResistance ( ) const
inlineconstexpr
Returns
measure resistance in ohm
template<typename SpiMaster , typename Cs , max31865::Pt pt = max31865::pt100>
template<Pt pt>
constexpr float modm::max31865< SpiMaster, Cs, pt >::Data< pt >::getTemperatureFast ( ) const
inlineconstexpr
Returns
fast temperature in degrees celsius, about 0.3 degrees error between 0 and 100 degrees celsius
template<typename SpiMaster , typename Cs , max31865::Pt pt = max31865::pt100>
template<Pt pt>
constexpr double modm::max31865< SpiMaster, Cs, pt >::Data< pt >::getTemperaturePrecise ( ) const
inlineconstexpr
Returns
slow but accurate temperature in degrees celsius

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