pub struct W(/* private fields */);
Expand description
Register CMD
writer
Implementations§
Source§impl W
impl W
Sourcepub fn ce_atacmd(
&mut self,
) -> BitWriterRaw<'_, u32, CMD_SPEC, CE_ATACMD_A, BitM, 14>
pub fn ce_atacmd( &mut self, ) -> BitWriterRaw<'_, u32, CMD_SPEC, CE_ATACMD_A, BitM, 14>
Bit 14 - CE-ATA command
Sourcepub fn n_ien(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, NIEN_A, BitM, 13>
pub fn n_ien(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, NIEN_A, BitM, 13>
Bit 13 - not Interrupt Enable
Sourcepub fn encmdcompl(
&mut self,
) -> BitWriterRaw<'_, u32, CMD_SPEC, ENCMDCOMPL_A, BitM, 12>
pub fn encmdcompl( &mut self, ) -> BitWriterRaw<'_, u32, CMD_SPEC, ENCMDCOMPL_A, BitM, 12>
Bit 12 - Enable CMD completion
Sourcepub fn sdiosuspend(
&mut self,
) -> BitWriterRaw<'_, u32, CMD_SPEC, SDIOSUSPEND_A, BitM, 11>
pub fn sdiosuspend( &mut self, ) -> BitWriterRaw<'_, u32, CMD_SPEC, SDIOSUSPEND_A, BitM, 11>
Bit 11 - SD I/O suspend command
Sourcepub fn cpsmen(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, CPSMEN_A, BitM, 10>
pub fn cpsmen(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, CPSMEN_A, BitM, 10>
Bit 10 - Command path state machine (CPSM) Enable bit
Sourcepub fn waitpend(
&mut self,
) -> BitWriterRaw<'_, u32, CMD_SPEC, WAITPEND_A, BitM, 9>
pub fn waitpend( &mut self, ) -> BitWriterRaw<'_, u32, CMD_SPEC, WAITPEND_A, BitM, 9>
Bit 9 - CPSM Waits for ends of data transfer (CmdPend internal signal).
Sourcepub fn waitint(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, WAITINT_A, BitM, 8>
pub fn waitint(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, WAITINT_A, BitM, 8>
Bit 8 - CPSM waits for interrupt request
Sourcepub fn waitresp(
&mut self,
) -> FieldWriterRaw<'_, u32, CMD_SPEC, u8, WAITRESP_A, Safe, 2, 6>
pub fn waitresp( &mut self, ) -> FieldWriterRaw<'_, u32, CMD_SPEC, u8, WAITRESP_A, Safe, 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