Type Definition atsam4ls8b_pac::tc0::capture_cmr::ETRGEDG_W

source ·
pub type ETRGEDG_W<'a, const O: u8> = FieldWriterSafe<'a, u32, CAPTURE_CMR_SPEC, u8, ETRGEDGSELECT_A, 2, O>;
Expand description

Field ETRGEDG writer - External Trigger Edge Selection

Implementations§

source§

impl<'a, const O: u8> ETRGEDG_W<'a, O>

source

pub fn no_edge(self) -> &'a mut W

none

source

pub fn pos_edge(self) -> &'a mut W

rising edge

source

pub fn neg_edge(self) -> &'a mut W

falling edge

source

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

each edge