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

# Type Definition k210_pac::rtc::interrupt_ctrl::W

source · [−]

    pub type W = W<u32, INTERRUPT_CTRL>;

Expand description

Writer for register interrupt_ctrl

## Implementations

source

### impl W

source

#### pub fn tick_enable(&mut self) -> TICK_ENABLE_W<'_>

Bit 0 - TICK_ENABLE

source

#### pub fn alarm_enable(&mut self) -> ALARM_ENABLE_W<'_>

Bit 1 - Alarm interrupt enable

source

#### pub fn tick_int_mode(&mut self) -> TICK_INT_MODE_W<'_>

Bits 2:3 - Tick interrupt enable

source

#### pub fn alarm_compare_mask(&mut self) -> ALARM_COMPARE_MASK_W<'_>

Bits 24:31 - Alarm compare mask for interrupt