Enum lpc81x_pac::lpc811::i2c0::cfg::TIMEOUTEN_A
source · pub enum TIMEOUTEN_A {
DISABLED,
ENABLED,
}
Expand description
I2C bus Time-out Enable. When disabled, the time-out function is internally reset.
Value on reset: 0
Variants§
DISABLED
0: Disabled. Time-out function is disabled.
ENABLED
1: Enabled. Time-out function is enabled. Both types of time-out flags will be generated and will cause interrupts if they are enabled. Typically, only one time-out will be used in a system.
Trait Implementations§
source§impl Clone for TIMEOUTEN_A
impl Clone for TIMEOUTEN_A
source§fn clone(&self) -> TIMEOUTEN_A
fn clone(&self) -> TIMEOUTEN_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 TIMEOUTEN_A
impl Debug for TIMEOUTEN_A
source§impl From<TIMEOUTEN_A> for bool
impl From<TIMEOUTEN_A> for bool
source§fn from(variant: TIMEOUTEN_A) -> Self
fn from(variant: TIMEOUTEN_A) -> Self
Converts to this type from the input type.