Type Alias rp2040_pac::timer::intr::W

source ·
pub type W = W<INTR_SPEC>;
Expand description

Register INTR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn alarm_0(&mut self) -> ALARM_0_W<'_, INTR_SPEC>

Bit 0

source

pub fn alarm_1(&mut self) -> ALARM_1_W<'_, INTR_SPEC>

Bit 1

source

pub fn alarm_2(&mut self) -> ALARM_2_W<'_, INTR_SPEC>

Bit 2

source

pub fn alarm_3(&mut self) -> ALARM_3_W<'_, INTR_SPEC>

Bit 3

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual