Type Alias rp2040_pac::ppb::nvic_ipr1::W

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

Register NVIC_IPR1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ip_4(&mut self) -> IP_4_W<'_, NVIC_IPR1_SPEC>

Bits 6:7 - Priority of interrupt 4

source

pub fn ip_5(&mut self) -> IP_5_W<'_, NVIC_IPR1_SPEC>

Bits 14:15 - Priority of interrupt 5

source

pub fn ip_6(&mut self) -> IP_6_W<'_, NVIC_IPR1_SPEC>

Bits 22:23 - Priority of interrupt 6

source

pub fn ip_7(&mut self) -> IP_7_W<'_, NVIC_IPR1_SPEC>

Bits 30:31 - Priority of interrupt 7

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