pub struct W(_);
Expand description
Register MSTCTL
writer
Implementations
sourceimpl W
impl W
sourcepub fn mstcontinue(&mut self) -> MSTCONTINUE_W<'_>
pub fn mstcontinue(&mut self) -> MSTCONTINUE_W<'_>
Bit 0 - Master Continue. This bit is write-only.
sourcepub fn mststart(&mut self) -> MSTSTART_W<'_>
pub fn mststart(&mut self) -> MSTSTART_W<'_>
Bit 1 - Master Start control. This bit is write-only.
sourcepub fn mststop(&mut self) -> MSTSTOP_W<'_>
pub fn mststop(&mut self) -> MSTSTOP_W<'_>
Bit 2 - Master Stop control. This bit is write-only.
sourcepub fn mstdma(&mut self) -> MSTDMA_W<'_>
pub fn mstdma(&mut self) -> MSTDMA_W<'_>
Bit 3 - Master DMA enable. Data operations of the I2C can be performed with DMA. Protocol type operations such as Start, address, Stop, and address match must always be done with software, typically via an interrupt. Address acknowledgement must also be done by software except when the I2C is configured to be HSCAPABLE (and address acknowledgement is handled entirely by hardware) or when Automatic Operation is enabled. When a DMA data transfer is complete, MSTDMA must be cleared prior to beginning the next operation, typically a Start or Stop.This bit is read/write.
Methods from Deref<Target = W<MSTCTL_SPEC>>
Trait Implementations
sourceimpl From<W<MSTCTL_SPEC>> for W
impl From<W<MSTCTL_SPEC>> for W
sourcefn from(writer: W<MSTCTL_SPEC>) -> Self
fn from(writer: W<MSTCTL_SPEC>) -> Self
Performs the conversion.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more