Type Definition stm32g0::stm32g071::lptim1::cfgr::W[][src]

type W = W<u32, CFGR>;

Writer for register CFGR

Implementations

impl W[src]

pub fn enc(&mut self) -> ENC_W<'_>[src]

Bit 24 - Encoder mode enable

pub fn countmode(&mut self) -> COUNTMODE_W<'_>[src]

Bit 23 - counter mode enabled

pub fn preload(&mut self) -> PRELOAD_W<'_>[src]

Bit 22 - Registers update mode

pub fn wavpol(&mut self) -> WAVPOL_W<'_>[src]

Bit 21 - Waveform shape polarity

pub fn wave(&mut self) -> WAVE_W<'_>[src]

Bit 20 - Waveform shape

pub fn timout(&mut self) -> TIMOUT_W<'_>[src]

Bit 19 - Timeout enable

pub fn trigen(&mut self) -> TRIGEN_W<'_>[src]

Bits 17:18 - Trigger enable and polarity

pub fn trigsel(&mut self) -> TRIGSEL_W<'_>[src]

Bits 13:15 - Trigger selector

pub fn presc(&mut self) -> PRESC_W<'_>[src]

Bits 9:11 - Clock prescaler

pub fn trgflt(&mut self) -> TRGFLT_W<'_>[src]

Bits 6:7 - Configurable digital filter for trigger

pub fn ckflt(&mut self) -> CKFLT_W<'_>[src]

Bits 3:4 - Configurable digital filter for external clock

pub fn ckpol(&mut self) -> CKPOL_W<'_>[src]

Bits 1:2 - Clock Polarity

pub fn cksel(&mut self) -> CKSEL_W<'_>[src]

Bit 0 - Clock selector