/* brief Get peripheral clock dividers. param div_name : Clock divider name return peripheral clock dividers  */
uint32_t CLOCK_GetClkDiv(clock_div_name_t div_name)
/* brief Get peripheral clock dividers. param div_name : Clock divider name return peripheral clock dividers  */
uint32_t CLOCK_GetClkDiv(clock_div_name_t div_name)
{
    uint32_t div;
    volatile uint32_t *pClkDiv;
    pClkDiv = &(SYSCON->SYSTICKCLKDIV[0]);
    if ((uint32_t)(((volatile uint32_t *)pClkDiv)[(uint32_t)div_name] & (0x3UL << 29U)) != 0UL)
    {
        div = 0U;
    }
    else
    {
        div = (uint32_t)((((volatile uint32_t *)pClkDiv)[(uint32_t)div_name] & 0xFFU) + 1U);
    }
    return div;
}