pub enum Scltimeout {
NoTimeout = 0,
Timeout = 1,
}Expand description
SCL Time-out Interrupt flag. Indicates when SCL has remained low longer than the time specific by the TIMEOUT register. The flag is cleared by writing a 1 to this bit.
Value on reset: 0
Variants§
NoTimeout = 0
0: No time-out. SCL low time has not caused a time-out.
Timeout = 1
1: Time-out. SCL low time has caused a time-out.
Trait Implementations§
Source§impl Clone for Scltimeout
impl Clone for Scltimeout
Source§fn clone(&self) -> Scltimeout
fn clone(&self) -> Scltimeout
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Scltimeout
impl Debug for Scltimeout
Source§impl From<Scltimeout> for bool
impl From<Scltimeout> for bool
Source§fn from(variant: Scltimeout) -> Self
fn from(variant: Scltimeout) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Scltimeout
impl PartialEq for Scltimeout
impl Copy for Scltimeout
impl Eq for Scltimeout
impl StructuralPartialEq for Scltimeout
Auto Trait Implementations§
impl Freeze for Scltimeout
impl RefUnwindSafe for Scltimeout
impl Send for Scltimeout
impl Sync for Scltimeout
impl Unpin for Scltimeout
impl UnwindSafe for Scltimeout
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