Enum amg88::ResetValue [−][src]
#[repr(u8)] pub enum ResetValue { Flag, Initial, }
Expand description
There are two kinds of soft reset available by writing to Register::Reset. Only use ResetValue::Initial when changing from sleep to normal mode. The datasheet emphasizes that other values are not to be used.
Variants
Resets Register::Status and the interrupt table.
A [Flag] reset as well as re-reading sensor adjustment values.
Trait Implementations
Performs the conversion.
type Error = TryFromPrimitiveError<Self>
type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ResetValue
impl Send for ResetValue
impl Sync for ResetValue
impl Unpin for ResetValue
impl UnwindSafe for ResetValue
Blanket Implementations
Mutably borrows from an owned value. Read more