/* Selects the clock source to output on MCO1 pin or on MCO2 pin.  */
void HAL_RCC_MCOConfig(uint32_t RCC_MCOx, uint32_t RCC_MCOSource, uint32_t RCC_MCODiv)
/* Selects the clock source to output on MCO1 pin or on MCO2 pin.  */
void HAL_RCC_MCOConfig(uint32_t RCC_MCOx, uint32_t RCC_MCOSource, uint32_t RCC_MCODiv)
{
  assert_param(IS_RCC_MCO(RCC_MCOx));
  assert_param(IS_RCC_MCODIV(RCC_MCODiv));
  if (RCC_MCOx == RCC_MCO1)
  {
    assert_param(IS_RCC_MCO1SOURCE(RCC_MCOSource));
    __HAL_RCC_MCO1_CONFIGURE(RCC_MCOSource, RCC_MCODiv);
    __HAL_RCC_MCO1_ENABLE();
  }
  else
  {
    assert_param(IS_RCC_MCO2SOURCE(RCC_MCOSource));
    __HAL_RCC_MCO2_CONFIGURE(RCC_MCOSource, RCC_MCODiv);
    __HAL_RCC_MCO2_ENABLE();
  }
}