STM32L486xx HAL User Manual
Defines
LPTIM Clock Prescaler
LPTIM Exported Constants

Defines

#define LPTIM_PRESCALER_DIV1   ((uint32_t)0x000000)
#define LPTIM_PRESCALER_DIV2   LPTIM_CFGR_PRESC_0
#define LPTIM_PRESCALER_DIV4   LPTIM_CFGR_PRESC_1
#define LPTIM_PRESCALER_DIV8   ((uint32_t)(LPTIM_CFGR_PRESC_0 | LPTIM_CFGR_PRESC_1))
#define LPTIM_PRESCALER_DIV16   LPTIM_CFGR_PRESC_2
#define LPTIM_PRESCALER_DIV32   ((uint32_t)(LPTIM_CFGR_PRESC_0 | LPTIM_CFGR_PRESC_2))
#define LPTIM_PRESCALER_DIV64   ((uint32_t)(LPTIM_CFGR_PRESC_1 | LPTIM_CFGR_PRESC_2))
#define LPTIM_PRESCALER_DIV128   ((uint32_t)LPTIM_CFGR_PRESC)

Define Documentation

#define LPTIM_PRESCALER_DIV1   ((uint32_t)0x000000)

Definition at line 224 of file stm32l4xx_hal_lptim.h.

Referenced by HAL_LPTIM_Encoder_Start(), and HAL_LPTIM_Encoder_Start_IT().

#define LPTIM_PRESCALER_DIV128   ((uint32_t)LPTIM_CFGR_PRESC)

Definition at line 231 of file stm32l4xx_hal_lptim.h.

#define LPTIM_PRESCALER_DIV16   LPTIM_CFGR_PRESC_2

Definition at line 228 of file stm32l4xx_hal_lptim.h.

#define LPTIM_PRESCALER_DIV2   LPTIM_CFGR_PRESC_0

Definition at line 225 of file stm32l4xx_hal_lptim.h.

#define LPTIM_PRESCALER_DIV32   ((uint32_t)(LPTIM_CFGR_PRESC_0 | LPTIM_CFGR_PRESC_2))

Definition at line 229 of file stm32l4xx_hal_lptim.h.

#define LPTIM_PRESCALER_DIV4   LPTIM_CFGR_PRESC_1

Definition at line 226 of file stm32l4xx_hal_lptim.h.

#define LPTIM_PRESCALER_DIV64   ((uint32_t)(LPTIM_CFGR_PRESC_1 | LPTIM_CFGR_PRESC_2))

Definition at line 230 of file stm32l4xx_hal_lptim.h.

#define LPTIM_PRESCALER_DIV8   ((uint32_t)(LPTIM_CFGR_PRESC_0 | LPTIM_CFGR_PRESC_1))

Definition at line 227 of file stm32l4xx_hal_lptim.h.