/* brief Return Frequency of Flexcomm 32kHz return Frequency of Flexcomm 32kHz  */
uint32_t CLOCK_GetFC32KFreq(void)
/* brief Return Frequency of Flexcomm 32kHz return Frequency of Flexcomm 32kHz  */
uint32_t CLOCK_GetFC32KFreq(void)
{
    return ((0UL == (PMC->PDRUNCFG0 & PMC_PDRUNCFG0_PDEN_FRO32K_MASK)) &&
            (0UL == (SYSCON->FC32KCLKSEL & SYSCON_FC32KCLKSEL_FC32KCLKSEL_MASK))) ?
               CLK_RTC_32K_CLK :
               ((0UL == (PMC->PDRUNCFG0 & PMC_PDRUNCFG0_PDEN_XTAL32K_MASK)) &&
                ((SYSCON->FC32KCLKSEL & SYSCON_FC32KCLKSEL_FC32KCLKSEL_MASK) != 0UL)) ?
               CLK_RTC_32K_CLK :
               0UL;
}