[−][src]Struct max31856::Max31856
Max31856 Precision Thermocouple to Digital Converter with Linearization
Implementations
impl<SPI, CS, FP> Max31856<SpiInterface<SPI, CS>, FP>
[src]
impl<CommE, PinE, DI, FP> Max31856<DI, FP> where
DI: SpiTransfer<Error = Error<CommE, PinE>>,
FP: InputPin,
[src]
DI: SpiTransfer<Error = Error<CommE, PinE>>,
FP: InputPin,
pub fn send_config(&mut self) -> Result<(), DI::Error>
[src]
Parse options and write to C0 and C1 registers.
pub fn config(&mut self) -> &mut Max31856Options
[src]
Get a reference of stored configuration. This can be then used to modify certain values. send_config() can then be used to write it to the sensor.
pub fn cold_junction_temperature(&mut self) -> Result<f32, DI::Error>
[src]
Get the measured value of cold-junction temperature plus the value in the Cold-Junction Offset register
pub fn temperature(&mut self) -> Result<f32, DI::Error>
[src]
Get the linearized and cold-junction-compensated thermocouple temperature value.
pub fn fault_status(&self) -> Result<(), DI::Error>
[src]
Check if any of the faults are triggered especially Check for over/under voltage or open circuit fault
Trait Implementations
impl<I: Debug, FP: Debug> Debug for Max31856<I, FP>
[src]
impl<I: Default, FP: Default> Default for Max31856<I, FP>
[src]
Auto Trait Implementations
impl<I, FP> RefUnwindSafe for Max31856<I, FP> where
FP: RefUnwindSafe,
I: RefUnwindSafe,
[src]
FP: RefUnwindSafe,
I: RefUnwindSafe,
impl<I, FP> Send for Max31856<I, FP> where
FP: Send,
I: Send,
[src]
FP: Send,
I: Send,
impl<I, FP> Sync for Max31856<I, FP> where
FP: Sync,
I: Sync,
[src]
FP: Sync,
I: Sync,
impl<I, FP> Unpin for Max31856<I, FP> where
FP: Unpin,
I: Unpin,
[src]
FP: Unpin,
I: Unpin,
impl<I, FP> UnwindSafe for Max31856<I, FP> where
FP: UnwindSafe,
I: UnwindSafe,
[src]
FP: UnwindSafe,
I: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,