Type Alias atsame54n::eic::nmictrl::W

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

Register NMICTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn nmisense(&mut self) -> NMISENSE_W<'_, NMICTRL_SPEC, 0>

Bits 0:2 - Non-Maskable Interrupt Sense Configuration

source

pub fn nmifilten(&mut self) -> NMIFILTEN_W<'_, NMICTRL_SPEC, 3>

Bit 3 - Non-Maskable Interrupt Filter Enable

source

pub fn nmiasynch(&mut self) -> NMIASYNCH_W<'_, NMICTRL_SPEC, 4>

Bit 4 - Asynchronous Edge Detection Mode

source

pub unsafe fn bits(&mut self, bits: u8) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual