Struct lpc55_pac::i2c0::mstctl::MSTSTOP_W [−][src]
pub struct MSTSTOP_W<'a> { /* fields omitted */ }
Field MSTSTOP
writer - Master Stop control. This bit is write-only.
Implementations
impl<'a> MSTSTOP_W<'a>
[src]
impl<'a> MSTSTOP_W<'a>
[src]pub fn variant(self, variant: MSTSTOP_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn no_effect(self) -> &'a mut W
[src]
No effect.
pub fn stop(self) -> &'a mut W
[src]
Stop. A Stop will be generated on the I2C bus at the next allowed time, preceded by a NACK to the slave if the master is receiving data from the slave (Master Receiver mode).
pub fn set_bit(self) -> &'a mut W
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W
[src]
Writes raw bits to the field