Enum lpc81x_pac::lpc811::i2c0::stat::SLVDESEL_A
source · pub enum SLVDESEL_A {
NOT_DESELECTED,
DESELECTED,
}
Expand description
Slave Deselected flag. This flag will cause an interrupt when set if enabled via INTENSET. This flag can be cleared by writing a 1 to this bit.
Value on reset: 0
Variants§
NOT_DESELECTED
0: Not deselected. The Slave function has not become deselected. This does not mean that it is currently selected. That information can be found in the SLVSEL flag.
DESELECTED
1: Deselected. The Slave function has become deselected. This is specifically caused by the SLVSEL flag changing from 1 to 0. See the description of SLVSEL for details on when that event occurs.
Trait Implementations§
source§impl Clone for SLVDESEL_A
impl Clone for SLVDESEL_A
source§fn clone(&self) -> SLVDESEL_A
fn clone(&self) -> SLVDESEL_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 SLVDESEL_A
impl Debug for SLVDESEL_A
source§impl From<SLVDESEL_A> for bool
impl From<SLVDESEL_A> for bool
source§fn from(variant: SLVDESEL_A) -> Self
fn from(variant: SLVDESEL_A) -> Self
Converts to this type from the input type.