rp2040_pac::timer::intr

Type Alias 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