pub enum AlertMode {
Alert,
Therm,
}Expand description
How the limits are applied (configuration bit 4, T/nA).
Variants§
Alert
Alert mode (the default): a result above the high limit sets HIGH_Alert, one below the low limit sets LOW_Alert, and reading the configuration clears them.
Therm
Therm mode: HIGH_Alert sets above the high limit and clears only once a result falls below the low limit, so the two limits act as a hysteresis band.
Trait Implementations§
impl Copy for AlertMode
impl Eq for AlertMode
impl StructuralPartialEq for AlertMode
Auto Trait Implementations§
impl Freeze for AlertMode
impl RefUnwindSafe for AlertMode
impl Send for AlertMode
impl Sync for AlertMode
impl Unpin for AlertMode
impl UnsafeUnpin for AlertMode
impl UnwindSafe for AlertMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more