pub type PRSCLEARMODE_W<'a, const O: u8> = FieldWriterSafe<'a, u32, PRSSEL_SPEC, u8, PRSCLEARMODE_A, 2, O>;
Expand description

Field PRSCLEARMODE writer - PRS Clear Mode

Implementations§

source§

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

source

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

PRS cannot clear the LETIMER

source

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

Rising edge of selected PRS input can clear the LETIMER

source

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

Falling edge of selected PRS input can clear the LETIMER

source

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

Both the rising or falling edge of the selected PRS input can clear the LETIMER