Type Alias rp2040_pac::ppb::nvic_iser::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