Type Alias rp2040_pac::ppb::nvic_ipr5::W

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

Register NVIC_IPR5 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ip_20(&mut self) -> IP_20_W<'_, NVIC_IPR5_SPEC>

Bits 6:7 - Priority of interrupt 20

source

pub fn ip_21(&mut self) -> IP_21_W<'_, NVIC_IPR5_SPEC>

Bits 14:15 - Priority of interrupt 21

source

pub fn ip_22(&mut self) -> IP_22_W<'_, NVIC_IPR5_SPEC>

Bits 22:23 - Priority of interrupt 22

source

pub fn ip_23(&mut self) -> IP_23_W<'_, NVIC_IPR5_SPEC>

Bits 30:31 - Priority of interrupt 23

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