#[repr(u8)]pub enum Eventtimeout {
NO_TIMEOUT = 0,
EVEN_TIMEOUT = 1,
}Variants§
NO_TIMEOUT = 0
No time-out. I2C bus events have not caused a time-out.
EVEN_TIMEOUT = 1
Event time-out. The time between I2C bus events has been longer than the time specified by the TIMEOUT register.
Implementations§
Source§impl Eventtimeout
impl Eventtimeout
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 u8
impl From<Eventtimeout> for u8
Source§fn from(val: Eventtimeout) -> u8
fn from(val: Eventtimeout) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Eventtimeout
impl From<u8> for Eventtimeout
Source§fn from(val: u8) -> Eventtimeout
fn from(val: u8) -> Eventtimeout
Converts to this type from the input type.
Source§impl Ord for Eventtimeout
impl Ord for Eventtimeout
Source§fn cmp(&self, other: &Eventtimeout) -> Ordering
fn cmp(&self, other: &Eventtimeout) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Eventtimeout
impl PartialEq for Eventtimeout
Source§impl PartialOrd for Eventtimeout
impl PartialOrd 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