pub struct W(/* private fields */);Expand description
Register CCR writer
Implementations§
Source§impl W
impl W
Sourcepub fn ddrm(&mut self) -> BitWriterRaw<'_, u32, CCR_SPEC, bool, BitM, 31>
pub fn ddrm(&mut self) -> BitWriterRaw<'_, u32, CCR_SPEC, bool, BitM, 31>
Bit 31 - Double data rate mode
Sourcepub fn dhhc(&mut self) -> BitWriterRaw<'_, u32, CCR_SPEC, bool, BitM, 30>
pub fn dhhc(&mut self) -> BitWriterRaw<'_, u32, CCR_SPEC, bool, BitM, 30>
Bit 30 - DDR hold half cycle
Sourcepub fn sioo(&mut self) -> BitWriterRaw<'_, u32, CCR_SPEC, bool, BitM, 28>
pub fn sioo(&mut self) -> BitWriterRaw<'_, u32, CCR_SPEC, bool, BitM, 28>
Bit 28 - Send instruction only once mode
Sourcepub fn fmode(
&mut self,
) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Unsafe, 2, 26>
pub fn fmode( &mut self, ) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Unsafe, 2, 26>
Bits 26:27 - Functional mode
Sourcepub fn dmode(
&mut self,
) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Unsafe, 2, 24>
pub fn dmode( &mut self, ) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Unsafe, 2, 24>
Bits 24:25 - Data mode
Sourcepub fn dcyc(
&mut self,
) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Unsafe, 5, 18>
pub fn dcyc( &mut self, ) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Unsafe, 5, 18>
Bits 18:22 - Number of dummy cycles
Sourcepub fn absize(
&mut self,
) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Unsafe, 2, 16>
pub fn absize( &mut self, ) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Unsafe, 2, 16>
Bits 16:17 - Alternate bytes size
Sourcepub fn abmode(
&mut self,
) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Unsafe, 2, 14>
pub fn abmode( &mut self, ) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Unsafe, 2, 14>
Bits 14:15 - Alternate bytes mode
Sourcepub fn adsize(
&mut self,
) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Unsafe, 2, 12>
pub fn adsize( &mut self, ) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Unsafe, 2, 12>
Bits 12:13 - Address size
Sourcepub fn admode(
&mut self,
) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Unsafe, 2, 10>
pub fn admode( &mut self, ) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Unsafe, 2, 10>
Bits 10:11 - Address mode
Sourcepub fn imode(
&mut self,
) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Unsafe, 2, 8>
pub fn imode( &mut self, ) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Unsafe, 2, 8>
Bits 8:9 - Instruction mode
Methods from Deref<Target = W<CCR_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