rp2040_pac::ppb::nvic_ipr2

Type Alias W

Source
pub type W = W<NVIC_IPR2_SPEC>;
Expand description

Register NVIC_IPR2 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn ip_8(&mut self) -> IP_8_W<'_, NVIC_IPR2_SPEC>

Bits 6:7 - Priority of interrupt 8

Source

pub fn ip_9(&mut self) -> IP_9_W<'_, NVIC_IPR2_SPEC>

Bits 14:15 - Priority of interrupt 9

Source

pub fn ip_10(&mut self) -> IP_10_W<'_, NVIC_IPR2_SPEC>

Bits 22:23 - Priority of interrupt 10

Source

pub fn ip_11(&mut self) -> IP_11_W<'_, NVIC_IPR2_SPEC>

Bits 30:31 - Priority of interrupt 11

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