Type Alias rp2040_pac::rtc::setup_1::W
source · pub type W = W<SETUP_1_SPEC>;
Expand description
Register SETUP_1
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn sec(&mut self) -> SEC_W<'_, SETUP_1_SPEC>
pub fn sec(&mut self) -> SEC_W<'_, SETUP_1_SPEC>
Bits 0:5 - Seconds
sourcepub fn min(&mut self) -> MIN_W<'_, SETUP_1_SPEC>
pub fn min(&mut self) -> MIN_W<'_, SETUP_1_SPEC>
Bits 8:13 - Minutes
sourcepub fn hour(&mut self) -> HOUR_W<'_, SETUP_1_SPEC>
pub fn hour(&mut self) -> HOUR_W<'_, SETUP_1_SPEC>
Bits 16:20 - Hours
sourcepub fn dotw(&mut self) -> DOTW_W<'_, SETUP_1_SPEC>
pub fn dotw(&mut self) -> DOTW_W<'_, SETUP_1_SPEC>
Bits 24:26 - Day of the week: 1-Monday…0-Sunday ISO 8601 mod 7