KugleFirmware/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc.c
/**
  * @brief  Returns the PCLK1 frequency
  * @note   Each time PCLK1 changes, this function must be called to update the
  *         right PCLK1 value. Otherwise, any configuration based on this function will be incorrect.
  * @retval PCLK1 frequency
  */
@brief  Returns the PCLK1 frequency
@note   Each time PCLK1 changes, this function must be called to update the
right PCLK1 value. Otherwise, any configuration based on this function will be incorrect.
@retval PCLK1 frequency
@brief Returns the PCLK1 frequency @note Each time PCLK1 changes this function must be called to update the right PCLK1 value . Otherwise any configuration based on this function will be incorrect . @retval PCLK1 frequency
uint32_t HAL_RCC_GetPCLK1Freq(void)
{
  return (HAL_RCC_GetHCLKFreq() >> D1CorePrescTable[(RCC->D2CFGR & RCC_D2CFGR_D2PPRE1)>> POSITION_VAL(RCC_D2CFGR_D2PPRE1_0)]);
}
uint32_t HAL_RCC_GetPCLK1Freq ( void ) { return ( HAL_RCC_GetHCLKFreq ( ) >> D1CorePrescTable [ ( RCC -> D2CFGR & RCC_D2CFGR_D2PPRE1 ) >> POSITION_VAL ( RCC_D2CFGR_D2PPRE1_0 ) ] ) ; }
@brief  Returns the PCLK1 frequency
 @note   Each time PCLK1 changes, this function must be called to update the
         right PCLK1 value.
@brief Returns the PCLK1 frequency @note Each time PCLK1 changes this function must be called to update the right PCLK1 value .
/* Get HCLK source and Compute PCLK1 frequency ---------------------------*/