/* brief Return Frequency of MClk Clock return Frequency of MClk Clock.  */
uint32_t CLOCK_GetMclkClkFreq(void)
/* brief Return Frequency of MClk Clock return Frequency of MClk Clock.  */
uint32_t CLOCK_GetMclkClkFreq(void)
{
    uint32_t freq = 0U;
    switch (SYSCON->MCLKCLKSEL)
    {
        case 0U:
            freq = CLOCK_GetFroHfFreq();
            break;
        case 1U:
            freq = CLOCK_GetPll0OutFreq();
            break;
        case 7U:
            freq = 0U;
            break;
        default:
            assert(false);
            break;
    }
    return freq / ((SYSCON->MCLKDIV & 0xffU) + 1U);
}