/* Selects the clock source to output on MCO1 pin(PA8).  */
void RCC_MCO1Config(uint32_t RCC_MCO1Source, uint32_t RCC_MCO1Div)
/* Selects the clock source to output on MCO1 pin(PA8).  */
void RCC_MCO1Config(uint32_t RCC_MCO1Source, uint32_t RCC_MCO1Div)
{
  uint32_t tmpreg = 0;
  assert_param(IS_RCC_MCO1SOURCE(RCC_MCO1Source));
  assert_param(IS_RCC_MCO1DIV(RCC_MCO1Div));  
  tmpreg = RCC->CFGR;
  tmpreg &= CFGR_MCO1_RESET_MASK;
  tmpreg |= RCC_MCO1Source | RCC_MCO1Div;
  RCC->CFGR = tmpreg;  
}