rp2040_pac::ppb::nvic_icer

Type Alias W

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

Register NVIC_ICER writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn clrena(&mut self) -> CLRENA_W<'_, NVIC_ICER_SPEC>

Bits 0:31 - Interrupt clear-enable bits.
Write:
0 = No effect.
1 = Disable 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