/* Configures the PLL clock source and multiplication factor.  */
void RCC_ConfigPll(uint32_t RCC_PLLSource, uint32_t RCC_PLLMul)
/* Configures the PLL clock source and multiplication factor.  */
void RCC_ConfigPll(uint32_t RCC_PLLSource, uint32_t RCC_PLLMul)
{
    uint32_t tmpregister = 0;
    assert_param(IS_RCC_PLL_SRC(RCC_PLLSource));
    assert_param(IS_RCC_PLL_MUL(RCC_PLLMul));
    tmpregister = RCC->CFG;
    tmpregister &= CFG_PLL_MASK;
    tmpregister |= RCC_PLLSource | RCC_PLLMul;
    RCC->CFG = tmpregister;
}