pub struct W(/* private fields */);Expand description
Register CMD writer
Implementations§
Source§impl W
impl W
Sourcepub fn sdiosuspend(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, bool, BitM, 11>
pub fn sdiosuspend(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, bool, BitM, 11>
Bit 11 - SD I/O suspend command
Sourcepub fn cpsmen(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, bool, BitM, 10>
pub fn cpsmen(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, bool, BitM, 10>
Bit 10 - Command path state machine (CPSM) Enable bit
Sourcepub fn waitpend(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, bool, BitM, 9>
pub fn waitpend(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, bool, BitM, 9>
Bit 9 - CPSM Waits for ends of data transfer (CmdPend internal signal)
Sourcepub fn waitint(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, bool, BitM, 8>
pub fn waitint(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, bool, BitM, 8>
Bit 8 - CPSM waits for interrupt request
Sourcepub fn waitresp(
&mut self,
) -> FieldWriterRaw<'_, u32, CMD_SPEC, u8, u8, Unsafe, 2, 6>
pub fn waitresp( &mut self, ) -> FieldWriterRaw<'_, u32, CMD_SPEC, u8, u8, Unsafe, 2, 6>
Bits 6:7 - Wait for response bits
Methods from Deref<Target = W<CMD_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