Type Alias atsame54n::evsys::channels::channel::EDGSEL_W

source ·
pub type EDGSEL_W<'a, REG, const O: u8> = FieldWriterSafe<'a, REG, 2, O, EDGSELSELECT_A>;
Expand description

Field EDGSEL writer - Edge Detection Selection

Aliased Type§

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

Implementations§

source§

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

source

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

No event output when using the resynchronized or synchronous path

source

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

Event detection only on the rising edge of the signal from the event generator when using the resynchronized or synchronous path

source

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

Event detection only on the falling edge of the signal from the event generator when using the resynchronized or synchronous path

source

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

Event detection on rising and falling edges of the signal from the event generator when using the resynchronized or synchronous path