k210_pac::rtc::register_ctrl

Type Alias R

Source
pub type R = R<u32, REGISTER_CTRL>;
Expand description

Reader of register register_ctrl

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn read_enable(&self) -> READ_ENABLE_R

Bit 0 - RTC timer read enable

Source

pub fn write_enable(&self) -> WRITE_ENABLE_R

Bit 1 - RTC timer write enable

Source

pub fn timer_mask(&self) -> TIMER_MASK_R

Bits 13:20 - RTC timer mask

Source

pub fn alarm_mask(&self) -> ALARM_MASK_R

Bits 21:28 - RTC alarm mask

Source

pub fn initial_count_mask(&self) -> INITIAL_COUNT_MASK_R

Bit 29 - RTC counter initial count value mask

Source

pub fn interrupt_register_mask(&self) -> INTERRUPT_REGISTER_MASK_R

Bit 30 - RTC interrupt register mask