/* brief Return Frequency of TSI Clock return Frequency of TSI Clock.  */
uint32_t CLOCK_GetTsiClkFreq(void)
/* brief Return Frequency of TSI Clock return Frequency of TSI Clock.  */
uint32_t CLOCK_GetTsiClkFreq(void)
{
    uint32_t freq = 0U;
    switch (SYSCON->TSICLKSEL)
    {
        case 2U:
            freq = CLOCK_GetExtClkFreq();
            break;
        case 4U:
            freq = CLOCK_GetFro12MFreq();
            break;
        default:
            freq = 0U;
            break;
    }
    return freq / ((SYSCON->TSICLKDIV & 0xffU) + 1U);
}