pub struct W(/* private fields */);
Expand description
Register WCCR
writer
Implementations§
source§impl W
impl W
sourcepub fn imode(
&mut self
) -> FieldWriterRaw<'_, u32, WCCR_SPEC, u8, u8, Unsafe, 2, 0>
pub fn imode( &mut self ) -> FieldWriterRaw<'_, u32, WCCR_SPEC, u8, u8, Unsafe, 2, 0>
Bits 0:1 - Instruction mode
sourcepub fn idtr(&mut self) -> BitWriterRaw<'_, u32, WCCR_SPEC, bool, BitM, 2>
pub fn idtr(&mut self) -> BitWriterRaw<'_, u32, WCCR_SPEC, bool, BitM, 2>
Bit 2 - Instruction double transfer rate
sourcepub fn isize(&mut self) -> BitWriterRaw<'_, u32, WCCR_SPEC, bool, BitM, 3>
pub fn isize(&mut self) -> BitWriterRaw<'_, u32, WCCR_SPEC, bool, BitM, 3>
Bit 3 - Instruction size
sourcepub fn admode(
&mut self
) -> FieldWriterRaw<'_, u32, WCCR_SPEC, u8, u8, Unsafe, 3, 8>
pub fn admode( &mut self ) -> FieldWriterRaw<'_, u32, WCCR_SPEC, u8, u8, Unsafe, 3, 8>
Bits 8:10 - Address mode
sourcepub fn addtr(&mut self) -> BitWriterRaw<'_, u32, WCCR_SPEC, bool, BitM, 11>
pub fn addtr(&mut self) -> BitWriterRaw<'_, u32, WCCR_SPEC, bool, BitM, 11>
Bit 11 - Address double transfer rate
sourcepub fn adsize(
&mut self
) -> FieldWriterRaw<'_, u32, WCCR_SPEC, u8, u8, Unsafe, 2, 12>
pub fn adsize( &mut self ) -> FieldWriterRaw<'_, u32, WCCR_SPEC, u8, u8, Unsafe, 2, 12>
Bits 12:13 - Address size
sourcepub fn abmode(
&mut self
) -> FieldWriterRaw<'_, u32, WCCR_SPEC, u8, u8, Unsafe, 3, 16>
pub fn abmode( &mut self ) -> FieldWriterRaw<'_, u32, WCCR_SPEC, u8, u8, Unsafe, 3, 16>
Bits 16:18 - Alternate-byte mode
sourcepub fn abdtr(&mut self) -> BitWriterRaw<'_, u32, WCCR_SPEC, bool, BitM, 19>
pub fn abdtr(&mut self) -> BitWriterRaw<'_, u32, WCCR_SPEC, bool, BitM, 19>
Bit 19 - Alternate bytes double transfer rate
sourcepub fn absize(
&mut self
) -> FieldWriterRaw<'_, u32, WCCR_SPEC, u8, u8, Unsafe, 2, 20>
pub fn absize( &mut self ) -> FieldWriterRaw<'_, u32, WCCR_SPEC, u8, u8, Unsafe, 2, 20>
Bits 20:21 - Alternate bytes size
Methods from Deref<Target = W<WCCR_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