/* brief Return Frequency of I3C function Slow clock return Frequency of I3C function slow Clock  */
uint32_t CLOCK_GetI3cSClkFreq(uint32_t id)
/* brief Return Frequency of I3C function Slow clock return Frequency of I3C function slow Clock  */
uint32_t CLOCK_GetI3cSClkFreq(uint32_t id)
{
    uint32_t freq = 0U;
    uint32_t div  = 0U;
    switch ((id == 0U) ? (SYSCON->I3C0FCLKSSEL) : (SYSCON->I3C1FCLKSSEL))
    {
        case 0U:
            freq = CLOCK_GetClk1MFreq();
            break;
        default:
            freq = 0U;
            break;
    }
    div = ((id == 0U) ? ((SYSCON->I3C0FCLKSDIV & SYSCON_I3C0FCLKSDIV_DIV_MASK) + 1U) :
                        ((SYSCON->I3C1FCLKSDIV & SYSCON_I3C1FCLKSDIV_DIV_MASK) + 1U));
    return freq / div;
}