pub struct W(_);
Expand description
Register DATE
writer
Implementations
sourceimpl W
impl W
sourcepub fn yrt(
&mut self
) -> FieldWriterRaw<'_, u32, DATE_SPEC, u8, u8, Unsafe, 4_u8, 20_u8>
pub fn yrt(
&mut self
) -> FieldWriterRaw<'_, u32, DATE_SPEC, u8, u8, Unsafe, 4_u8, 20_u8>
Bits 20:23 - Year tens in BCD format
sourcepub fn yru(
&mut self
) -> FieldWriterRaw<'_, u32, DATE_SPEC, u8, u8, Unsafe, 4_u8, 16_u8>
pub fn yru(
&mut self
) -> FieldWriterRaw<'_, u32, DATE_SPEC, u8, u8, Unsafe, 4_u8, 16_u8>
Bits 16:19 - Year units in BCD format
sourcepub fn dow(
&mut self
) -> FieldWriterRaw<'_, u32, DATE_SPEC, u8, u8, Unsafe, 3_u8, 13_u8>
pub fn dow(
&mut self
) -> FieldWriterRaw<'_, u32, DATE_SPEC, u8, u8, Unsafe, 3_u8, 13_u8>
Bits 13:15 - Week day units
sourcepub fn mont(&mut self) -> BitWriterRaw<'_, u32, DATE_SPEC, bool, BitM, 12_u8>
pub fn mont(&mut self) -> BitWriterRaw<'_, u32, DATE_SPEC, bool, BitM, 12_u8>
Bit 12 - Month tens in BCD format
sourcepub fn monu(
&mut self
) -> FieldWriterRaw<'_, u32, DATE_SPEC, u8, u8, Unsafe, 4_u8, 8_u8>
pub fn monu(
&mut self
) -> FieldWriterRaw<'_, u32, DATE_SPEC, u8, u8, Unsafe, 4_u8, 8_u8>
Bits 8:11 - Month units in BCD format
sourcepub fn dayt(
&mut self
) -> FieldWriterRaw<'_, u32, DATE_SPEC, u8, u8, Unsafe, 2_u8, 4_u8>
pub fn dayt(
&mut self
) -> FieldWriterRaw<'_, u32, DATE_SPEC, u8, u8, Unsafe, 2_u8, 4_u8>
Bits 4:5 - Date tens in BCD format
Methods from Deref<Target = W<DATE_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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more