#include <modm/driver/temperature/max31865.hpp>
|
using | FaultDetectionWrite_t = (Config) enum class FaultDetectionWrite Configuration< Config_t, FaultDetectionWrite, 0b11, 2 > |
|
using | FaultDetectionRead_t = Configuration< Config_t, FaultDetectionRead, 0b11, 2 > |
|
using | Rejection_t = Configuration< Config_t, Rejection, 0b1 > |
|
using | Data = max31865::Data< pt > |
|
|
enum | Fault : uint8_t {
RtdHighThreshold = Bit7,
RtdLowThreshold = Bit6,
RefinMGreater85Percentbias = Bit5,
RefinMLess85PercentVbias = Bit4,
RtdinMLess85PercentVbias = Bit3,
OverUnderVoltage = Bit2
} |
|
enum | FaultDetectionRead : uint8_t { FaultDetectionFinished = 0b00,
AutomaticDetectionStillRunning = 0b01,
ManualCycle1Running,
ManualCycle2StillRunning = 0b11
} |
|
enum | Rejection : uint8_t { Rejection60Hz = 0b0,
Rejection50Hz = 0b1
} |
|
enum | Register : uint8_t {
ReadConfiguration = 0x00,
ReadRtdMsb = 0x01,
ReadRtdLsb = 0x02,
ReadHighFaultThresholdMsb = 0x03,
ReadHighFaultThresholdLsb = 0x04,
ReadLowFaultThresholdMsb = 0x05,
ReadLowFaultThresholdLsb = 0x06,
ReadFaultStatus = 0x07,
WriteConfiguration = 0x80,
WriteHighFaultThresholdMsb = 0x83,
WriteHighFaultThresholdLsb = 0x84,
WriteLowFaultThresholdMsb = 0x85,
WriteLowFaultThresholdLsb = 0x86
} |
|
|
static constexpr uint16_t | rtdfaultthresh (const uint16_t res) |
|
|
static constexpr Pt | pt100 |
| Standard values for IEC 751 (PT100) with 430 Ohm reference. More...
|
|
|
bool | acquireMaster () |
|
bool | releaseMaster () |
|
int8_t | getResumableDepth () const |
|
bool | isResumableRunning () const |
|
void | stopResumable () |
|
template<typename SpiMaster, typename Cs, max31865::Pt pt = max31865::pt100>
class modm::max31865< SpiMaster, Cs, pt >
- Template Parameters
-
template<typename SpiMaster , typename Cs , max31865::Pt pt = max31865::pt100>
- Parameters
-
data | pointer to buffer of the internal data of type Data |
template<typename SpiMaster , typename Cs , max31865::Pt pt = max31865::pt100>
Initial value:{
.R0 = 100.f,
.Rref = 430.f,
.alpha = 3.85055e-3f,
.a = double{3.90830e-3},
.b = double{-5.77500e-7},
.c = double{-4.18301e-12},
}
Standard values for IEC 751 (PT100) with 430 Ohm reference.
The documentation for this class was generated from the following file: