pub type UFOA1_W<'a, const O: u8> = FieldWriterSafe<'a, u32, CTRL_SPEC, u8, UFOA1_A, 2, O>;
Expand description

Field UFOA1 writer - Underflow Output Action 1

Implementations§

source§

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

source

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

LETn_O1 is held at its idle value as defined by OPOL1

source

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

LETn_O1 is toggled on CNT underflow

source

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

LETn_O1 is held active for one LFACLKLETIMER0 clock cycle on CNT underflow. The output then returns to its idle value as defined by OPOL1

source

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

LETn_O1 is set idle on CNT underflow, and active on compare match with COMP1