STM32L443xx HAL User Manual
Defines
Encoder Mode
LPTIM Exported Constants

Defines

#define LL_LPTIM_ENCODER_MODE_RISING   0x00000000U
#define LL_LPTIM_ENCODER_MODE_FALLING   LPTIM_CFGR_CKPOL_0
#define LL_LPTIM_ENCODER_MODE_RISING_FALLING   LPTIM_CFGR_CKPOL_1

Define Documentation

#define LL_LPTIM_ENCODER_MODE_FALLING   LPTIM_CFGR_CKPOL_0

The falling edge is the active edge used for counting

Definition at line 269 of file stm32l4xx_ll_lptim.h.

#define LL_LPTIM_ENCODER_MODE_RISING   0x00000000U

The rising edge is the active edge used for counting

Definition at line 268 of file stm32l4xx_ll_lptim.h.

#define LL_LPTIM_ENCODER_MODE_RISING_FALLING   LPTIM_CFGR_CKPOL_1

Both edges are active edges

Definition at line 270 of file stm32l4xx_ll_lptim.h.