/* brief Return Frequency of External Clock return Frequency of External Clock. If no external clock is used returns 0.  */
static uint32_t CLOCK_GetExtClkFreq(void)
/* brief Return Frequency of External Clock return Frequency of External Clock. If no external clock is used returns 0.  */
static uint32_t CLOCK_GetExtClkFreq(void)
{
    return ((SCG0->SOSCCSR & SCG_SOSCCSR_SOSCVLD_MASK) != 0UL) ? s_Ext_Clk_Freq : 0U;
}