Type Definition atsam4s2a_pac::tc0::cmr0::ETRGEDG_W

source ·
pub type ETRGEDG_W<'a, const O: u8> = FieldWriterSafe<'a, u32, CMR0_SPEC, u8, ETRGEDG_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 none(self) -> &'a mut W

The clock is not gated by an external signal.

source

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

Rising edge

source

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

Falling edge

source

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

Each edge