Type Definition lpc81x_pac::lpc810::i2c0::stat::EVENTTIMEOUT_W
source · pub type EVENTTIMEOUT_W<'a, const O: u8> = BitWriter<'a, u32, STAT_SPEC, EVENTTIMEOUT_A, O>;
Expand description
Field EVENTTIMEOUT
writer - 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.
Implementations§
source§impl<'a, const O: u8> EVENTTIMEOUT_W<'a, O>
impl<'a, const O: u8> EVENTTIMEOUT_W<'a, O>
sourcepub fn no_timeout(self) -> &'a mut W
pub fn no_timeout(self) -> &'a mut W
No time-out. I2C bus events have not caused a time-out.
sourcepub fn even_timeout(self) -> &'a mut W
pub fn even_timeout(self) -> &'a mut W
Event time-out. The time between I2C bus events has been longer than the time specified by the TIMEOUT register.