Type Definition stm32l0::stm32l0x3::lptim::cfgr::CKPOL_W

source · []
pub type CKPOL_W<'a, const O: u8> = FieldWriter<'a, u32, CFGR_SPEC, u8, CKPOL_A, 2, O>;
Expand description

Field CKPOL writer - Clock Polarity

Implementations

The rising edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 1 is active.

The falling edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 2 is active.

Both edges are active edge. If LPTIM is in encoder mode: Encoder sub-mode 3 is active.