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

Field PRSSTARTMODE writer - PRS Start Mode

Implementations§

source§

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

source

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

PRS cannot start the LETIMER

source

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

Rising edge of selected PRS input can start the LETIMER

source

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

Falling edge of selected PRS input can start the LETIMER

source

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

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