STM32L486xx HAL User Manual
Defines
Peripheral LPTIM clock source selection
RCC Exported Constants

Defines

#define LL_RCC_LPTIM1_CLKSOURCE_PCLK1   RCC_CCIPR_LPTIM1SEL
#define LL_RCC_LPTIM1_CLKSOURCE_LSI   (RCC_CCIPR_LPTIM1SEL | (RCC_CCIPR_LPTIM1SEL_0 >> 16U))
#define LL_RCC_LPTIM1_CLKSOURCE_HSI   (RCC_CCIPR_LPTIM1SEL | (RCC_CCIPR_LPTIM1SEL_1 >> 16U))
#define LL_RCC_LPTIM1_CLKSOURCE_LSE   (RCC_CCIPR_LPTIM1SEL | (RCC_CCIPR_LPTIM1SEL >> 16U))
#define LL_RCC_LPTIM2_CLKSOURCE_PCLK1   RCC_CCIPR_LPTIM2SEL
#define LL_RCC_LPTIM2_CLKSOURCE_LSI   (RCC_CCIPR_LPTIM2SEL | (RCC_CCIPR_LPTIM2SEL_0 >> 16U))
#define LL_RCC_LPTIM2_CLKSOURCE_HSI   (RCC_CCIPR_LPTIM2SEL | (RCC_CCIPR_LPTIM2SEL_1 >> 16U))
#define LL_RCC_LPTIM2_CLKSOURCE_LSE   (RCC_CCIPR_LPTIM2SEL | (RCC_CCIPR_LPTIM2SEL >> 16U))

Define Documentation

#define LL_RCC_LPTIM1_CLKSOURCE_HSI   (RCC_CCIPR_LPTIM1SEL | (RCC_CCIPR_LPTIM1SEL_1 >> 16U))

HSI clock used as LPTIM1 clock source

Definition at line 487 of file stm32l4xx_ll_rcc.h.

Referenced by LL_RCC_GetLPTIMClockFreq().

#define LL_RCC_LPTIM1_CLKSOURCE_LSE   (RCC_CCIPR_LPTIM1SEL | (RCC_CCIPR_LPTIM1SEL >> 16U))

LSE clock used as LPTIM1 clock source

Definition at line 488 of file stm32l4xx_ll_rcc.h.

Referenced by LL_RCC_GetLPTIMClockFreq().

#define LL_RCC_LPTIM1_CLKSOURCE_LSI   (RCC_CCIPR_LPTIM1SEL | (RCC_CCIPR_LPTIM1SEL_0 >> 16U))

LSI clock used as LPTIM1 clock source

Definition at line 486 of file stm32l4xx_ll_rcc.h.

Referenced by LL_RCC_GetLPTIMClockFreq().

#define LL_RCC_LPTIM1_CLKSOURCE_PCLK1   RCC_CCIPR_LPTIM1SEL

PCLK1 clock used as LPTIM1 clock source

Definition at line 485 of file stm32l4xx_ll_rcc.h.

Referenced by LL_RCC_GetLPTIMClockFreq().

#define LL_RCC_LPTIM2_CLKSOURCE_HSI   (RCC_CCIPR_LPTIM2SEL | (RCC_CCIPR_LPTIM2SEL_1 >> 16U))

HSI clock used as LPTIM2 clock source

Definition at line 491 of file stm32l4xx_ll_rcc.h.

Referenced by LL_RCC_GetLPTIMClockFreq().

#define LL_RCC_LPTIM2_CLKSOURCE_LSE   (RCC_CCIPR_LPTIM2SEL | (RCC_CCIPR_LPTIM2SEL >> 16U))

LSE clock used as LPTIM2 clock source

Definition at line 492 of file stm32l4xx_ll_rcc.h.

Referenced by LL_RCC_GetLPTIMClockFreq().

#define LL_RCC_LPTIM2_CLKSOURCE_LSI   (RCC_CCIPR_LPTIM2SEL | (RCC_CCIPR_LPTIM2SEL_0 >> 16U))

LSI clock used as LPTIM2 clock source

Definition at line 490 of file stm32l4xx_ll_rcc.h.

Referenced by LL_RCC_GetLPTIMClockFreq().

#define LL_RCC_LPTIM2_CLKSOURCE_PCLK1   RCC_CCIPR_LPTIM2SEL

PCLK1 clock used as LPTIM2 clock source

Definition at line 489 of file stm32l4xx_ll_rcc.h.

Referenced by LL_RCC_GetLPTIMClockFreq().