Type Alias atsame54n::eic::nmiflag::W

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

Register NMIFLAG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn nmi(&mut self) -> NMI_W<'_, NMIFLAG_SPEC, 0>

Bit 0 - Non-Maskable Interrupt

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual