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