/* brief Return Frequency of OSTIMER return Frequency of OSTIMER  */
uint32_t CLOCK_GetOstimerClkFreq(void)
/* brief Return Frequency of OSTIMER return Frequency of OSTIMER  */
uint32_t CLOCK_GetOstimerClkFreq(void)
{
    uint32_t freq = 0U;
    switch (SYSCON->OSTIMERCLKSEL)
    {
        case 0U:
            freq = CLOCK_GetClk16KFreq((uint32_t)kCLOCK_Clk16KToWake);
            break;
        case 1U:
            freq = CLOCK_GetOsc32KFreq((uint32_t)kCLOCK_Osc32kToWake);
            break;
        case 2U:
            freq = CLOCK_GetClk1MFreq();
            break;
        default:
            freq = 0U;
            break;
    }
    return freq;
}