Type Alias rp2040_pac::rtc::setup_1::R

source ·
pub type R = R<SETUP_1_SPEC>;
Expand description

Register SETUP_1 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn sec(&self) -> SEC_R

Bits 0:5 - Seconds

source

pub fn min(&self) -> MIN_R

Bits 8:13 - Minutes

source

pub fn hour(&self) -> HOUR_R

Bits 16:20 - Hours

source

pub fn dotw(&self) -> DOTW_R

Bits 24:26 - Day of the week: 1-Monday…0-Sunday ISO 8601 mod 7