/* Returns the pclk1 frequency of different on chip clocks.  */
u32 RCC_GetPCLK1Freq(void)
/* Returns the pclk1 frequency of different on chip clocks.  */
u32 RCC_GetPCLK1Freq(void)
{
    return (RCC_GetHCLKFreq() >> tbPresc[(RCC->CFGR & RCC_CFGR_PPRE1) >> RCC_CFGR_PPRE1_Pos]);
}