/* brief Return Frequency of High-Freq output of FRO return Frequency of High-Freq output of FRO  */
static uint32_t CLOCK_GetFroHfFreq(void)
/* brief Return Frequency of High-Freq output of FRO return Frequency of High-Freq output of FRO  */
static uint32_t CLOCK_GetFroHfFreq(void)
{
    uint32_t freq;
    if ((SCG0->FIRCCSR & SCG_FIRCCSR_FIRCEN_MASK) == 0UL)
    {
        freq = 0;
    }
    else if ((SCG0->FIRCCFG & SCG_FIRCCFG_RANGE_MASK) != 0UL)
    {
        freq = 144000000U;
    }
    else
    {
        freq = 48000000U;
    }
    return freq;
}