pub struct W(/* private fields */);
Expand description
Register DCTRL
writer
Implementations§
Source§impl W
impl W
Sourcepub fn sdioen(
&mut self,
) -> BitWriterRaw<'_, u32, DCTRL_SPEC, SDIOEN_A, BitM, 11>
pub fn sdioen( &mut self, ) -> BitWriterRaw<'_, u32, DCTRL_SPEC, SDIOEN_A, BitM, 11>
Bit 11 - SD I/O enable functions
Sourcepub fn rwmod(&mut self) -> BitWriterRaw<'_, u32, DCTRL_SPEC, RWMOD_A, BitM, 10>
pub fn rwmod(&mut self) -> BitWriterRaw<'_, u32, DCTRL_SPEC, RWMOD_A, BitM, 10>
Bit 10 - Read wait mode
Sourcepub fn rwstop(&mut self) -> BitWriterRaw<'_, u32, DCTRL_SPEC, RWSTOP_A, BitM, 9>
pub fn rwstop(&mut self) -> BitWriterRaw<'_, u32, DCTRL_SPEC, RWSTOP_A, BitM, 9>
Bit 9 - Read wait stop
Sourcepub fn rwstart(
&mut self,
) -> BitWriterRaw<'_, u32, DCTRL_SPEC, RWSTART_A, BitM, 8>
pub fn rwstart( &mut self, ) -> BitWriterRaw<'_, u32, DCTRL_SPEC, RWSTART_A, BitM, 8>
Bit 8 - Read wait start
Sourcepub fn dblocksize(
&mut self,
) -> FieldWriterRaw<'_, u32, DCTRL_SPEC, u8, u8, Safe, 4, 4>
pub fn dblocksize( &mut self, ) -> FieldWriterRaw<'_, u32, DCTRL_SPEC, u8, u8, Safe, 4, 4>
Bits 4:7 - Data block size
Sourcepub fn dmaen(&mut self) -> BitWriterRaw<'_, u32, DCTRL_SPEC, DMAEN_A, BitM, 3>
pub fn dmaen(&mut self) -> BitWriterRaw<'_, u32, DCTRL_SPEC, DMAEN_A, BitM, 3>
Bit 3 - DMA enable bit
Sourcepub fn dtmode(&mut self) -> BitWriterRaw<'_, u32, DCTRL_SPEC, DTMODE_A, BitM, 2>
pub fn dtmode(&mut self) -> BitWriterRaw<'_, u32, DCTRL_SPEC, DTMODE_A, BitM, 2>
Bit 2 - Data transfer mode selection 1: Stream or SDIO multibyte data transfer.
Sourcepub fn dtdir(&mut self) -> BitWriterRaw<'_, u32, DCTRL_SPEC, DTDIR_A, BitM, 1>
pub fn dtdir(&mut self) -> BitWriterRaw<'_, u32, DCTRL_SPEC, DTDIR_A, BitM, 1>
Bit 1 - Data transfer direction selection
Sourcepub fn dten(&mut self) -> BitWriterRaw<'_, u32, DCTRL_SPEC, DTEN_A, BitM, 0>
pub fn dten(&mut self) -> BitWriterRaw<'_, u32, DCTRL_SPEC, DTEN_A, BitM, 0>
Bit 0 - DTEN
Methods from Deref<Target = W<DCTRL_SPEC>>§
Sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more