pub type ICEDGE_W<'a, const O: u8> = FieldWriterSafe<'a, u32, CC1_CTRL_SPEC, u8, ICEDGE_A, 2, O>;
Expand description

Field ICEDGE writer - Input Capture Edge Select

Implementations§

source§

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

source

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

Rising edges detected

source

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

Falling edges detected

source

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

Both edges detected

source

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

No edge detection, signal is left as it is