Skip to main content

IcevctrlW

Type Alias IcevctrlW 

Source
pub type IcevctrlW<'a, REG> = FieldWriter<'a, REG, 2, ICEVCTRL, Safe>;
Expand description

Field ICEVCTRL writer - Input Capture Event Control

Aliased Type§

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

Implementations§

Source§

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

Source

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

PRS output pulse and interrupt flag set on every capture

Source

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

PRS output pulse and interrupt flag set on every second capture

Source

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

PRS output pulse and interrupt flag set on rising edge only (if ICEDGE = BOTH)

Source

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

PRS output pulse and interrupt flag set on falling edge only (if ICEDGE = BOTH)