/* brief Return Frequency of External Clock return Frequency of External Clock. If no external clock is used returns 0.  */
static uint32_t GetExtClkFreq(void)
/* brief Return Frequency of External Clock return Frequency of External Clock. If no external clock is used returns 0.  */
static uint32_t GetExtClkFreq(void)
{
    return ((ANACTRL->XO32M_CTRL & ANACTRL_XO32M_CTRL_ENABLE_SYSTEM_CLK_OUT_MASK) != 0UL) ? CLK_CLK_IN : 0U;
}