pub struct W(/* private fields */);
Expand description
Register DR
writer
Implementations§
Source§impl W
impl W
Sourcepub fn yt(&mut self) -> FieldWriterRaw<'_, u32, DR_SPEC, u8, u8, Safe, 4, 20>
pub fn yt(&mut self) -> FieldWriterRaw<'_, u32, DR_SPEC, u8, u8, Safe, 4, 20>
Bits 20:23 - Year tens in BCD format
Sourcepub fn yu(&mut self) -> FieldWriterRaw<'_, u32, DR_SPEC, u8, u8, Safe, 4, 16>
pub fn yu(&mut self) -> FieldWriterRaw<'_, u32, DR_SPEC, u8, u8, Safe, 4, 16>
Bits 16:19 - Year units in BCD format
Sourcepub fn wdu(&mut self) -> FieldWriterRaw<'_, u32, DR_SPEC, u8, u8, Unsafe, 3, 13>
pub fn wdu(&mut self) -> FieldWriterRaw<'_, u32, DR_SPEC, u8, u8, Unsafe, 3, 13>
Bits 13:15 - Week day units
Sourcepub fn mt(&mut self) -> BitWriterRaw<'_, u32, DR_SPEC, bool, BitM, 12>
pub fn mt(&mut self) -> BitWriterRaw<'_, u32, DR_SPEC, bool, BitM, 12>
Bit 12 - Month tens in BCD format
Sourcepub fn mu(&mut self) -> FieldWriterRaw<'_, u32, DR_SPEC, u8, u8, Safe, 4, 8>
pub fn mu(&mut self) -> FieldWriterRaw<'_, u32, DR_SPEC, u8, u8, Safe, 4, 8>
Bits 8:11 - Month units in BCD format
Sourcepub fn dt(&mut self) -> FieldWriterRaw<'_, u32, DR_SPEC, u8, u8, Safe, 2, 4>
pub fn dt(&mut self) -> FieldWriterRaw<'_, u32, DR_SPEC, u8, u8, Safe, 2, 4>
Bits 4:5 - Date tens in BCD format
Methods from Deref<Target = W<DR_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