Type Alias R

Source
pub type R = R<ALRMRrs>;
Expand description

Register ALRM%sR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn su(&self) -> SU_R

Bits 0:3 - Second units in BCD format

Source

pub fn st(&self) -> ST_R

Bits 4:6 - Second tens in BCD format

Source

pub fn msk1(&self) -> MSK1_R

Bit 7 - Alarm seconds mask

Source

pub fn mnu(&self) -> MNU_R

Bits 8:11 - Minute units in BCD format

Source

pub fn mnt(&self) -> MNT_R

Bits 12:14 - Minute tens in BCD format

Source

pub fn msk2(&self) -> MSK2_R

Bit 15 - Alarm minutes mask

Source

pub fn hu(&self) -> HU_R

Bits 16:19 - Hour units in BCD format

Source

pub fn ht(&self) -> HT_R

Bits 20:21 - Hour tens in BCD format

Source

pub fn pm(&self) -> PM_R

Bit 22 - AM/PM notation

Source

pub fn msk3(&self) -> MSK3_R

Bit 23 - Alarm hours mask

Source

pub fn du(&self) -> DU_R

Bits 24:27 - Date units or day in BCD format

Source

pub fn dt(&self) -> DT_R

Bits 28:29 - Date tens in BCD format

Source

pub fn wdsel(&self) -> WDSEL_R

Bit 30 - Week day selection

Source

pub fn msk4(&self) -> MSK4_R

Bit 31 - Alarm date mask

Trait Implementations§

Source§

impl Debug for R

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more