/* brief Return PLL0 input clock rate return PLL0 input clock rate  */
uint32_t CLOCK_GetPLL0InClockRate(void)
/* brief Return PLL0 input clock rate return PLL0 input clock rate  */
uint32_t CLOCK_GetPLL0InClockRate(void)
{
    uint32_t clkRate = 0U;
    switch ((SYSCON->PLL0CLKSEL & SYSCON_PLL0CLKSEL_SEL_MASK))
    {
        case 0x00U:
            clkRate = CLK_FRO_12MHZ;
            break;
        case 0x01U:
            clkRate = CLOCK_GetExtClkFreq();
            break;
        case 0x02U:
            clkRate = CLOCK_GetFro1MFreq();
            break;
        case 0x03U:
            clkRate = CLOCK_GetOsc32KFreq();
            break;
        default:
            clkRate = 0U;
            break;
    }
    return clkRate;
}