pub struct W(/* private fields */);
Expand description
Register DCR1
writer
Implementations§
source§impl W
impl W
sourcepub fn ckmode(&mut self) -> BitWriterRaw<'_, u32, DCR1_SPEC, bool, BitM, 0>
pub fn ckmode(&mut self) -> BitWriterRaw<'_, u32, DCR1_SPEC, bool, BitM, 0>
Bit 0 - Mode 0 / mode 3
sourcepub fn frck(&mut self) -> BitWriterRaw<'_, u32, DCR1_SPEC, bool, BitM, 1>
pub fn frck(&mut self) -> BitWriterRaw<'_, u32, DCR1_SPEC, bool, BitM, 1>
Bit 1 - Free running clock
sourcepub fn csht(
&mut self
) -> FieldWriterRaw<'_, u32, DCR1_SPEC, u8, u8, Unsafe, 6, 8>
pub fn csht( &mut self ) -> FieldWriterRaw<'_, u32, DCR1_SPEC, u8, u8, Unsafe, 6, 8>
Bits 8:13 - Chip-select high time
sourcepub fn devsize(
&mut self
) -> FieldWriterRaw<'_, u32, DCR1_SPEC, u8, u8, Unsafe, 5, 16>
pub fn devsize( &mut self ) -> FieldWriterRaw<'_, u32, DCR1_SPEC, u8, u8, Unsafe, 5, 16>
Bits 16:20 - Device size
sourcepub fn mtyp(
&mut self
) -> FieldWriterRaw<'_, u32, DCR1_SPEC, u8, u8, Unsafe, 3, 24>
pub fn mtyp( &mut self ) -> FieldWriterRaw<'_, u32, DCR1_SPEC, u8, u8, Unsafe, 3, 24>
Bits 24:26 - Memory type
Methods from Deref<Target = W<DCR1_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