Type Alias rp2040_pac::ppb::nvic_ipr2::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