Max31865.Registers.RTDResistanceRegister (max31865 v0.1.0)

Allows the reading of the Max31865 RTD Resistance Register.

register-layout

Register Layout

  • The first 15 bits represent the ratio of RTD resistance to reference resistance
  • The 16th bit will be set if the value returned was higher or lower than the values defined in the Fault Threshold Register

Link to this section Summary

Functions

Get a raw reading from the RTD resistance register.

Link to this section Functions

Get a raw reading from the RTD resistance register.

If the reading was within the bounds set in the Fault Threshold Register, returns {:ok, reading}, where reading is a 15-bit integer.

If the reading was outside those bounds, returns {:error, :read_threshold_fault}