pub struct W(/* private fields */);
Expand description
Register CREL
writer
Implementations§
source§impl W
impl W
sourcepub fn day(
&mut self
) -> FieldWriterRaw<'_, u32, CREL_SPEC, u8, u8, Unsafe, 8, 0>
pub fn day( &mut self ) -> FieldWriterRaw<'_, u32, CREL_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7 - Time Stamp Day
sourcepub fn mon(
&mut self
) -> FieldWriterRaw<'_, u32, CREL_SPEC, u8, u8, Unsafe, 8, 8>
pub fn mon( &mut self ) -> FieldWriterRaw<'_, u32, CREL_SPEC, u8, u8, Unsafe, 8, 8>
Bits 8:15 - Time Stamp Month
sourcepub fn year(
&mut self
) -> FieldWriterRaw<'_, u32, CREL_SPEC, u8, u8, Unsafe, 4, 16>
pub fn year( &mut self ) -> FieldWriterRaw<'_, u32, CREL_SPEC, u8, u8, Unsafe, 4, 16>
Bits 16:19 - Time Stamp Year
sourcepub fn substep(
&mut self
) -> FieldWriterRaw<'_, u32, CREL_SPEC, u8, u8, Unsafe, 4, 20>
pub fn substep( &mut self ) -> FieldWriterRaw<'_, u32, CREL_SPEC, u8, u8, Unsafe, 4, 20>
Bits 20:23 - Sub-step of Core Release
sourcepub fn step(
&mut self
) -> FieldWriterRaw<'_, u32, CREL_SPEC, u8, u8, Unsafe, 4, 24>
pub fn step( &mut self ) -> FieldWriterRaw<'_, u32, CREL_SPEC, u8, u8, Unsafe, 4, 24>
Bits 24:27 - Step of Core Release
Methods from Deref<Target = W<CREL_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