/* The function is used to Get APB2 clock and the UNIT is in Hz.  */
unsigned long SysCtlAPB2ClockGet(void)
/* The function is used to Get APB2 clock and the UNIT is in Hz.  */
unsigned long SysCtlAPB2ClockGet(void)
{
    unsigned long ulTemp,ulAPB2Clock;
    ulAPB2Clock = SysCtlHClockGet();
    ulTemp = (xHWREG(RCC_CFGR) & RCC_CFGR_PPRE2_M) >> RCC_CFGR_PPRE2_S;
    ulTemp = (unsigned long)g_APBAHBPrescTable[ulTemp];
    ulAPB2Clock = ulAPB2Clock >> ulTemp;
    return ulAPB2Clock;
}