Type Definition atsaml21e16b::evsys::channel::EDGSEL_W
source · pub type EDGSEL_W<'a, const O: u8> = FieldWriterSafe<'a, u32, CHANNEL_SPEC, u8, EDGSELSELECT_A, 2, O>;
Expand description
Field EDGSEL
writer - Edge Detection Selection
Implementations§
source§impl<'a, const O: u8> EDGSEL_W<'a, O>
impl<'a, const O: u8> EDGSEL_W<'a, O>
sourcepub fn no_evt_output(self) -> &'a mut W
pub fn no_evt_output(self) -> &'a mut W
No event output when using the resynchronized or synchronous path
sourcepub fn rising_edge(self) -> &'a mut W
pub fn rising_edge(self) -> &'a mut W
Event detection only on the rising edge of the signal from the event generator when using the resynchronized or synchronous path
sourcepub fn falling_edge(self) -> &'a mut W
pub fn falling_edge(self) -> &'a mut W
Event detection only on the falling edge of the signal from the event generator when using the resynchronized or synchronous path
sourcepub fn both_edges(self) -> &'a mut W
pub fn both_edges(self) -> &'a mut W
Event detection on rising and falling edges of the signal from the event generator when using the resynchronized or synchronous path