Type Alias atsamd51p::eic::config::SENSE6_W

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

Field SENSE6 writer - Input Sense Configuration 6

Aliased Type§

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

Implementations§

source§

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