Type Alias rp2040_pac::ppb::nvic_ipr0::W

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

Register NVIC_IPR0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ip_0(&mut self) -> IP_0_W<'_, NVIC_IPR0_SPEC>

Bits 6:7 - Priority of interrupt 0

source

pub fn ip_1(&mut self) -> IP_1_W<'_, NVIC_IPR0_SPEC>

Bits 14:15 - Priority of interrupt 1

source

pub fn ip_2(&mut self) -> IP_2_W<'_, NVIC_IPR0_SPEC>

Bits 22:23 - Priority of interrupt 2

source

pub fn ip_3(&mut self) -> IP_3_W<'_, NVIC_IPR0_SPEC>

Bits 30:31 - Priority of interrupt 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