Struct msp432p401r::rtc_c::rtcadowday::W
source · [−]pub struct W(_);
Expand description
Register RTCADOWDAY
writer
Implementations
sourceimpl W
impl W
sourcepub fn dayof_week(&mut self) -> DAYOFWEEK_W<'_, 0>
pub fn dayof_week(&mut self) -> DAYOFWEEK_W<'_, 0>
Bits 0:2 - Day of week (0 to 6)
sourcepub fn dayof_month(&mut self) -> DAYOFMONTH_W<'_, 8>
pub fn dayof_month(&mut self) -> DAYOFMONTH_W<'_, 8>
Bits 8:12 - Day of month (1 to 28, 29, 30, 31)
Methods from Deref<Target = W<RTCADOWDAY_SPEC>>
Trait Implementations
sourceimpl From<W<RTCADOWDAY_SPEC>> for W
impl From<W<RTCADOWDAY_SPEC>> for W
sourcefn from(writer: W<RTCADOWDAY_SPEC>) -> Self
fn from(writer: W<RTCADOWDAY_SPEC>) -> Self
Converts to this type from the input type.
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