Enum lpc81x_pac::lpc812::i2c0::stat::EVENTTIMEOUT_A
source · pub enum EVENTTIMEOUT_A {
NO_TIMEOUT,
EVEN_TIMEOUT,
}
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§
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.
Trait Implementations§
source§impl Clone for EVENTTIMEOUT_A
impl Clone for EVENTTIMEOUT_A
source§fn clone(&self) -> EVENTTIMEOUT_A
fn clone(&self) -> EVENTTIMEOUT_A
Returns a copy 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_A
impl Debug for EVENTTIMEOUT_A
source§impl From<EVENTTIMEOUT_A> for bool
impl From<EVENTTIMEOUT_A> for bool
source§fn from(variant: EVENTTIMEOUT_A) -> Self
fn from(variant: EVENTTIMEOUT_A) -> Self
Converts to this type from the input type.