Type Alias atsame54n::eic::nmictrl::NMISENSE_W

source ·
pub type NMISENSE_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 3, O, NMISENSESELECT_A>;
Expand description

Field NMISENSE writer - Non-Maskable Interrupt Sense Configuration

Aliased Type§

struct NMISENSE_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, REG, const O: u8> NMISENSE_W<'a, REG, O>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn none(self) -> &'a mut W<REG>

No detection

source

pub fn rise(self) -> &'a mut W<REG>

Rising-edge detection

source

pub fn fall(self) -> &'a mut W<REG>

Falling-edge detection

source

pub fn both(self) -> &'a mut W<REG>

Both-edges detection

source

pub fn high(self) -> &'a mut W<REG>

High-level detection

source

pub fn low(self) -> &'a mut W<REG>

Low-level detection