Type Alias rp2040_pac::ppb::nvic_ispr::W

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

Register NVIC_ISPR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn setpend(&mut self) -> SETPEND_W<'_, NVIC_ISPR_SPEC>

Bits 0:31 - Interrupt set-pending bits.
Write:
0 = No effect.
1 = Changes interrupt state to pending.
Read:
0 = Interrupt is not pending.
1 = Interrupt is pending.
Note: Writing 1 to the NVIC_ISPR bit corresponding to:
An interrupt that is pending has no effect.
A disabled interrupt sets the state of that interrupt to 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