k210_pac::rtc::register_ctrl

Type Alias W

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

Writer for register register_ctrl

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn read_enable(&mut self) -> READ_ENABLE_W<'_>

Bit 0 - RTC timer read enable

Source

pub fn write_enable(&mut self) -> WRITE_ENABLE_W<'_>

Bit 1 - RTC timer write enable

Source

pub fn timer_mask(&mut self) -> TIMER_MASK_W<'_>

Bits 13:20 - RTC timer mask

Source

pub fn alarm_mask(&mut self) -> ALARM_MASK_W<'_>

Bits 21:28 - RTC alarm mask

Source

pub fn initial_count_mask(&mut self) -> INITIAL_COUNT_MASK_W<'_>

Bit 29 - RTC counter initial count value mask

Source

pub fn interrupt_register_mask(&mut self) -> INTERRUPT_REGISTER_MASK_W<'_>

Bit 30 - RTC interrupt register mask