Type Alias efm32pg1b_pac::timer0::cc3_ctrl::IcedgeW

source ·
pub type IcedgeW<'a, REG> = FieldWriter<'a, REG, 2, ICEDGE, Safe>;
Expand description

Field ICEDGE writer - Input Capture Edge Select

Aliased Type§

struct IcedgeW<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> IcedgeW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

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

Rising edges detected

source

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

Falling edges detected

source

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

Both edges detected

source

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

No edge detection, signal is left as it is