Enum lpc81x_pac::lpc812::i2c0::stat::MONACTIVE_A
source · pub enum MONACTIVE_A {
INACTIVE,
ACTIVE,
}
Expand description
Monitor Active flag. Indicates when the Monitor function considers the I 2C bus to be active. Active is defined here as when some Master is on the bus: a bus Start has occurred more recently than a bus Stop.
Value on reset: 0
Variants§
INACTIVE
0: Inactive. The Monitor function considers the I2C bus to be inactive.
ACTIVE
1: Active. The Monitor function considers the I2C bus to be active.
Trait Implementations§
source§impl Clone for MONACTIVE_A
impl Clone for MONACTIVE_A
source§fn clone(&self) -> MONACTIVE_A
fn clone(&self) -> MONACTIVE_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 MONACTIVE_A
impl Debug for MONACTIVE_A
source§impl From<MONACTIVE_A> for bool
impl From<MONACTIVE_A> for bool
source§fn from(variant: MONACTIVE_A) -> Self
fn from(variant: MONACTIVE_A) -> Self
Converts to this type from the input type.