/* Checks whether the specified ETHERNET MAC interrupt has occurred or not.  */
INTStatus ETH_GetMacIntStatus(uint32_t ETH_MAC_IT)
/* Checks whether the specified ETHERNET MAC interrupt has occurred or not.  */
INTStatus ETH_GetMacIntStatus(uint32_t ETH_MAC_IT)
{
    INTStatus bitstatus = RESET;
    assert_param(IS_ETH_MAC_GET_INT(ETH_MAC_IT));
    if ((ETH->MACINTSTS & ETH_MAC_IT) != (uint32_t)RESET)
    {
        bitstatus = SET;
    }
    else
    {
        bitstatus = RESET;
    }
    return bitstatus;
}