Type Alias atsame54n::eic::config::SENSE4_W

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

Field SENSE4 writer - Input Sense Configuration 4

Aliased Type§

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

Implementations§

source§

impl<'a, REG, const O: u8> SENSE4_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