# W in k210_pac::rtc::register_ctrl - Rust
Writer for register register_ctrl
Keywords: rust, rustlang, rust-lang, W

# Type Definition k210_pac::rtc::register_ctrl::W

source · [−]

    pub type W = W<u32, REGISTER_CTRL>;

Expand description

Writer for register register_ctrl

## 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