boards/library/bsp/stm32f10xfwlib/src/stm32f10x_rcc.c
/**
  * @brief  Configures the PLL3 multiplication factor.
  * @note 
  *   - This function must be used only when the PLL3 is disabled.
  *   - This function applies only to STM32 Connectivity line devices.
  * @param  RCC_PLL3Mul: specifies the PLL3 multiplication factor.
  *   This parameter can be RCC_PLL3Mul_x where x:{[8,14], 16, 20}
  * @retval None
  */
@brief  Configures the PLL3 multiplication factor.
@note
- This function must be used only when the PLL3 is disabled.
- This function applies only to STM32 Connectivity line devices.
@param  RCC_PLL3Mul: specifies the PLL3 multiplication factor.
This parameter can be RCC_PLL3Mul_x where x:{[8,14], 16, 20}
@retval None
@brief Configures the PLL3 multiplication factor . @note - This function must be used only when the PLL3 is disabled . - This function applies only to STM32 Connectivity line devices . @param RCC_PLL3Mul : specifies the PLL3 multiplication factor . This parameter can be RCC_PLL3Mul_x where x : { [ 8 14 ] 16 20 } @retval None
void RCC_PLL3Config(uint32_t RCC_PLL3Mul)
{
  uint32_t tmpreg = 0;
  assert_param(IS_RCC_PLL3_MUL(RCC_PLL3Mul));
  tmpreg = RCC->CFGR2;
  tmpreg &= ~CFGR2_PLL3MUL;
  tmpreg |= RCC_PLL3Mul;
  RCC->CFGR2 = tmpreg;
}
void RCC_PLL3Config ( uint32_t RCC_PLL3Mul ) { uint32_t tmpreg = 0 ; assert_param ( IS_RCC_PLL3_MUL ( RCC_PLL3Mul ) ) ; tmpreg = RCC -> CFGR2 ; tmpreg &= ~ CFGR2_PLL3MUL ; tmpreg |= RCC_PLL3Mul ; RCC -> CFGR2 = tmpreg ; }
@brief  Configures the PLL3 multiplication factor.
@brief Configures the PLL3 multiplication factor .
/* Check the parameters */ /* Clear PLL3Mul[3:0] bits */ /* Set the PLL3 configuration bits */ /* Store the new value */