/* brief Return Frequency of 32kHz osc return Frequency of 32kHz osc  */
static uint32_t CLOCK_GetOsc32KFreq(uint32_t id)
/* brief Return Frequency of 32kHz osc return Frequency of 32kHz osc  */
static uint32_t CLOCK_GetOsc32KFreq(uint32_t id)
{
    return ((SCG0->ROSCCSR & SCG_ROSCCSR_ROSCVLD_MASK) != 0UL) ?
               (((VBAT0->OSCCLKE & VBAT_OSCCLKE_CLKE(id)) != 0UL) ? s_Xtal32_Freq : 0U) :
               0U;
}