/* Get the frequency of PLL USB1 software clock.  */
static uint32_t CLOCK_GetPllUsb1SWFreq(void)
/* Get the frequency of PLL USB1 software clock.  */
static uint32_t CLOCK_GetPllUsb1SWFreq(void)
{
    uint32_t freq;
    switch ((CCM->CCSR & CCM_CCSR_PLL3_SW_CLK_SEL_MASK) >> CCM_CCSR_PLL3_SW_CLK_SEL_SHIFT)
    {
        case 0:
        {
            freq = CLOCK_GetPllFreq(kCLOCK_PllUsb1);
            break;
        }
        case 1:
        {
            freq = 24000000UL;
            break;
        }
        default:
            freq = 0UL;
            break;
    }
    return freq;
}