pub enum Eventtimeout {
NoTimeout = 0,
EvenTimeout = 1,
}Expand description
Event Time-out Interrupt flag. Indicates when the time between events has been longer than the time specified by the TIMEOUT register. Events include Start, Stop, and clock edges. The flag is cleared by writing a 1 to this bit. No time-out is created when the I2C-bus is idle.
Value on reset: 0
Variants§
NoTimeout = 0
0: No time-out. I2C bus events have not caused a time-out.
EvenTimeout = 1
1: Event time-out. The time between I2C bus events has been longer than the time specified by the TIMEOUT register.
Trait Implementations§
Source§impl Clone for Eventtimeout
impl Clone for Eventtimeout
Source§fn clone(&self) -> Eventtimeout
fn clone(&self) -> Eventtimeout
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 Eventtimeout
impl Debug for Eventtimeout
Source§impl From<Eventtimeout> for bool
impl From<Eventtimeout> for bool
Source§fn from(variant: Eventtimeout) -> Self
fn from(variant: Eventtimeout) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Eventtimeout
impl PartialEq for Eventtimeout
impl Copy for Eventtimeout
impl Eq for Eventtimeout
impl StructuralPartialEq for Eventtimeout
Auto Trait Implementations§
impl Freeze for Eventtimeout
impl RefUnwindSafe for Eventtimeout
impl Send for Eventtimeout
impl Sync for Eventtimeout
impl Unpin for Eventtimeout
impl UnwindSafe for Eventtimeout
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