pub struct W(/* private fields */);
Expand description
Register SDCMR
writer
Implementations§
Source§impl W
impl W
Sourcepub fn mode(
&mut self,
) -> FieldWriterRaw<'_, u32, SDCMR_SPEC, u8, MODE_AW, Unsafe, 3, 0>
pub fn mode( &mut self, ) -> FieldWriterRaw<'_, u32, SDCMR_SPEC, u8, MODE_AW, Unsafe, 3, 0>
Bits 0:2 - Command mode
Sourcepub fn ctb2(&mut self) -> BitWriterRaw<'_, u32, SDCMR_SPEC, CTB2_AW, BitM, 3>
pub fn ctb2(&mut self) -> BitWriterRaw<'_, u32, SDCMR_SPEC, CTB2_AW, BitM, 3>
Bit 3 - Command target bank 2
Sourcepub fn ctb1(&mut self) -> BitWriterRaw<'_, u32, SDCMR_SPEC, CTB2_AW, BitM, 4>
pub fn ctb1(&mut self) -> BitWriterRaw<'_, u32, SDCMR_SPEC, CTB2_AW, BitM, 4>
Bit 4 - Command target bank 1
Sourcepub fn nrfs(
&mut self,
) -> FieldWriterRaw<'_, u32, SDCMR_SPEC, u8, u8, Safe, 4, 5>
pub fn nrfs( &mut self, ) -> FieldWriterRaw<'_, u32, SDCMR_SPEC, u8, u8, Safe, 4, 5>
Bits 5:8 - Number of Auto-refresh
Methods from Deref<Target = W<SDCMR_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