pub struct W(/* private fields */);
Expand description
Register SDRTR
writer
Implementations§
source§impl W
impl W
sourcepub fn cre(&mut self) -> BitWriterRaw<'_, u32, SDRTR_SPEC, CRE_AW, BitM, 0>
pub fn cre(&mut self) -> BitWriterRaw<'_, u32, SDRTR_SPEC, CRE_AW, BitM, 0>
Bit 0 - Clear Refresh error flag
sourcepub fn count(
&mut self
) -> FieldWriterRaw<'_, u32, SDRTR_SPEC, u16, u16, Safe, 13, 1>
pub fn count( &mut self ) -> FieldWriterRaw<'_, u32, SDRTR_SPEC, u16, u16, Safe, 13, 1>
Bits 1:13 - Refresh Timer Count
sourcepub fn reie(&mut self) -> BitWriterRaw<'_, u32, SDRTR_SPEC, REIE_A, BitM, 14>
pub fn reie(&mut self) -> BitWriterRaw<'_, u32, SDRTR_SPEC, REIE_A, BitM, 14>
Bit 14 - RES Interrupt Enable
Methods from Deref<Target = W<SDRTR_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§
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