TUKS MCU Introductory course / TUKS-COURSE-2-LED
Embed: (wiki syntax)

« Back to documentation index

MCO

Functions

__STATIC_INLINE void LL_RCC_ConfigMCO (uint32_t MCOxSource, uint32_t MCOxPrescaler)
 Configure MCOx CFGR MCOSEL LL_RCC_ConfigMCO
CFGR MCOPRE LL_RCC_ConfigMCO.

Function Documentation

__STATIC_INLINE void LL_RCC_ConfigMCO ( uint32_t  MCOxSource,
uint32_t  MCOxPrescaler 
)

Configure MCOx CFGR MCOSEL LL_RCC_ConfigMCO
CFGR MCOPRE LL_RCC_ConfigMCO.

Parameters:
MCOxSourceThis parameter can be one of the following values:

  • LL_RCC_MCO1SOURCE_NOCLOCK
  • LL_RCC_MCO1SOURCE_SYSCLK
  • LL_RCC_MCO1SOURCE_MSI
  • LL_RCC_MCO1SOURCE_HSI
  • LL_RCC_MCO1SOURCE_HSE
  • LL_RCC_MCO1SOURCE_HSI48 (*)
  • LL_RCC_MCO1SOURCE_PLLCLK
  • LL_RCC_MCO1SOURCE_LSI
  • LL_RCC_MCO1SOURCE_LSE

(*) value not defined in all devices.

MCOxPrescalerThis parameter can be one of the following values:

  • LL_RCC_MCO1_DIV_1
  • LL_RCC_MCO1_DIV_2
  • LL_RCC_MCO1_DIV_4
  • LL_RCC_MCO1_DIV_8
  • LL_RCC_MCO1_DIV_16
Return values:
None

Definition at line 2186 of file stm32l4xx_ll_rcc.h.