/* Checks whether the specified DIV interrupt has occurred or not.  */
ITStatus DIV_GetITStatus(uint32_t DIV_IT)
/* Checks whether the specified DIV interrupt has occurred or not.  */
ITStatus DIV_GetITStatus(uint32_t DIV_IT)
{
    ITStatus bitstatus = RESET;
    uint32_t enablestatus = 0;
    assert_param(IS_DIV_GET_IT(DIV_IT));
    enablestatus = (uint32_t)((DIV->SC>>1) & DIV_IT);
    if (((uint32_t)(DIV->SC & DIV_IT) != (uint32_t)RESET) && (enablestatus != (uint32_t)RESET))
    {
        bitstatus = SET;
    }
    else
    {
        bitstatus = RESET;
    }
    return  bitstatus;
}