Type Definition lpc81x_pac::lpc810::i2c0::stat::SLVDESEL_W
source · pub type SLVDESEL_W<'a, const O: u8> = BitWriter<'a, u32, STAT_SPEC, SLVDESEL_A, O>;
Expand description
Field SLVDESEL
writer - 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.
Implementations§
source§impl<'a, const O: u8> SLVDESEL_W<'a, O>
impl<'a, const O: u8> SLVDESEL_W<'a, O>
sourcepub fn not_deselected(self) -> &'a mut W
pub fn not_deselected(self) -> &'a mut W
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.
sourcepub fn deselected(self) -> &'a mut W
pub fn deselected(self) -> &'a mut W
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.