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

Defines

#define LL_RCC_UART4_CLKSOURCE_PCLK1   (RCC_CCIPR_UART4SEL << 16U)
#define LL_RCC_UART4_CLKSOURCE_SYSCLK   ((RCC_CCIPR_UART4SEL << 16U) | RCC_CCIPR_UART4SEL_0)
#define LL_RCC_UART4_CLKSOURCE_HSI   ((RCC_CCIPR_UART4SEL << 16U) | RCC_CCIPR_UART4SEL_1)
#define LL_RCC_UART4_CLKSOURCE_LSE   ((RCC_CCIPR_UART4SEL << 16U) | RCC_CCIPR_UART4SEL)
#define LL_RCC_UART5_CLKSOURCE_PCLK1   (RCC_CCIPR_UART5SEL << 16U)
#define LL_RCC_UART5_CLKSOURCE_SYSCLK   ((RCC_CCIPR_UART5SEL << 16U) | RCC_CCIPR_UART5SEL_0)
#define LL_RCC_UART5_CLKSOURCE_HSI   ((RCC_CCIPR_UART5SEL << 16U) | RCC_CCIPR_UART5SEL_1)
#define LL_RCC_UART5_CLKSOURCE_LSE   ((RCC_CCIPR_UART5SEL << 16U) | RCC_CCIPR_UART5SEL)

Define Documentation

#define LL_RCC_UART4_CLKSOURCE_HSI   ((RCC_CCIPR_UART4SEL << 16U) | RCC_CCIPR_UART4SEL_1)

HSI clock used as UART4 clock source

Definition at line 434 of file stm32l4xx_ll_rcc.h.

Referenced by LL_RCC_GetUARTClockFreq().

#define LL_RCC_UART4_CLKSOURCE_LSE   ((RCC_CCIPR_UART4SEL << 16U) | RCC_CCIPR_UART4SEL)

LSE clock used as UART4 clock source

Definition at line 435 of file stm32l4xx_ll_rcc.h.

Referenced by LL_RCC_GetUARTClockFreq().

#define LL_RCC_UART4_CLKSOURCE_PCLK1   (RCC_CCIPR_UART4SEL << 16U)

PCLK1 clock used as UART4 clock source

Definition at line 432 of file stm32l4xx_ll_rcc.h.

Referenced by LL_RCC_GetUARTClockFreq().

#define LL_RCC_UART4_CLKSOURCE_SYSCLK   ((RCC_CCIPR_UART4SEL << 16U) | RCC_CCIPR_UART4SEL_0)

SYSCLK clock used as UART4 clock source

Definition at line 433 of file stm32l4xx_ll_rcc.h.

Referenced by LL_RCC_GetUARTClockFreq().

#define LL_RCC_UART5_CLKSOURCE_HSI   ((RCC_CCIPR_UART5SEL << 16U) | RCC_CCIPR_UART5SEL_1)

HSI clock used as UART5 clock source

Definition at line 440 of file stm32l4xx_ll_rcc.h.

Referenced by LL_RCC_GetUARTClockFreq().

#define LL_RCC_UART5_CLKSOURCE_LSE   ((RCC_CCIPR_UART5SEL << 16U) | RCC_CCIPR_UART5SEL)

LSE clock used as UART5 clock source

Definition at line 441 of file stm32l4xx_ll_rcc.h.

Referenced by LL_RCC_GetUARTClockFreq().

#define LL_RCC_UART5_CLKSOURCE_PCLK1   (RCC_CCIPR_UART5SEL << 16U)

PCLK1 clock used as UART5 clock source

Definition at line 438 of file stm32l4xx_ll_rcc.h.

Referenced by LL_RCC_GetUARTClockFreq().

#define LL_RCC_UART5_CLKSOURCE_SYSCLK   ((RCC_CCIPR_UART5SEL << 16U) | RCC_CCIPR_UART5SEL_0)

SYSCLK clock used as UART5 clock source

Definition at line 439 of file stm32l4xx_ll_rcc.h.

Referenced by LL_RCC_GetUARTClockFreq().