rp2040_pac::ppb::nvic_iser

Type Alias W

Source
pub type W = W<NVIC_ISER_SPEC>;
Expand description

Register NVIC_ISER writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn setena(&mut self) -> SETENA_W<'_, NVIC_ISER_SPEC>

Bits 0:31 - Interrupt set-enable bits.
Write:
0 = No effect.
1 = Enable interrupt.
Read:
0 = Interrupt disabled.
1 = Interrupt enabled.

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