Type Alias rp2040_pac::ppb::nvic_icpr::W

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

Register NVIC_ICPR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn clrpend(&mut self) -> CLRPEND_W<'_, NVIC_ICPR_SPEC>

Bits 0:31 - Interrupt clear-pending bits.
Write:
0 = No effect.
1 = Removes pending state and interrupt.
Read:
0 = Interrupt is not pending.
1 = Interrupt is pending.

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