pub struct W(/* private fields */);
Expand description
Register SDTR%s
writer
Implementations§
Source§impl W
impl W
Sourcepub fn tmrd(&mut self) -> FieldWriterRaw<'_, u32, SDTR_SPEC, u8, u8, Safe, 4, 0>
pub fn tmrd(&mut self) -> FieldWriterRaw<'_, u32, SDTR_SPEC, u8, u8, Safe, 4, 0>
Bits 0:3 - Load Mode Register to Active
Sourcepub fn txsr(&mut self) -> FieldWriterRaw<'_, u32, SDTR_SPEC, u8, u8, Safe, 4, 4>
pub fn txsr(&mut self) -> FieldWriterRaw<'_, u32, SDTR_SPEC, u8, u8, Safe, 4, 4>
Bits 4:7 - Exit self-refresh delay
Sourcepub fn tras(&mut self) -> FieldWriterRaw<'_, u32, SDTR_SPEC, u8, u8, Safe, 4, 8>
pub fn tras(&mut self) -> FieldWriterRaw<'_, u32, SDTR_SPEC, u8, u8, Safe, 4, 8>
Bits 8:11 - Self refresh time
Sourcepub fn trc(&mut self) -> FieldWriterRaw<'_, u32, SDTR_SPEC, u8, u8, Safe, 4, 12>
pub fn trc(&mut self) -> FieldWriterRaw<'_, u32, SDTR_SPEC, u8, u8, Safe, 4, 12>
Bits 12:15 - Row cycle delay
Sourcepub fn twr(&mut self) -> FieldWriterRaw<'_, u32, SDTR_SPEC, u8, u8, Safe, 4, 16>
pub fn twr(&mut self) -> FieldWriterRaw<'_, u32, SDTR_SPEC, u8, u8, Safe, 4, 16>
Bits 16:19 - Recovery delay
Sourcepub fn trp(&mut self) -> FieldWriterRaw<'_, u32, SDTR_SPEC, u8, u8, Safe, 4, 20>
pub fn trp(&mut self) -> FieldWriterRaw<'_, u32, SDTR_SPEC, u8, u8, Safe, 4, 20>
Bits 20:23 - Row precharge delay
Methods from Deref<Target = W<SDTR_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