This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EMACIntStatus() Intterupt source definitions

I am using the TM4c1294 launchpad. I am looking for a bit more information on the emac interrupt sources.

Can someone point me to where the EMACIntStatus() interrupt sources are defined. I am missing the link between the emac.h header definitions and where those sources are further explained in the datasheet.  The definitions below have a brief explanation in the tivaware documentation. I am hoping for more. Where are these in the tm4c1294 datasheet?

#define EMAC_INT_PHY                      0x80000000
#define EMAC_INT_EARLY_RECEIVE            0x00004000
#define EMAC_INT_BUS_ERROR                0x00002000
#define EMAC_INT_EARLY_TRANSMIT           0x00000400
#define EMAC_INT_RX_WATCHDOG              0x00000200
#define EMAC_INT_RX_STOPPED               0x00000100
#define EMAC_INT_RX_NO_BUFFER             0x00000080
#define EMAC_INT_RECEIVE                  0x00000040
#define EMAC_INT_TX_UNDERFLOW             0x00000020
#define EMAC_INT_RX_OVERFLOW              0x00000010
#define EMAC_INT_TX_JABBER                0x00000008
#define EMAC_INT_TX_NO_BUFFER             0x00000004
#define EMAC_INT_TX_STOPPED               0x00000002
#define EMAC_INT_TRANSMIT                 0x00000001

  • Hello Jeff,

    The API "EMACIntStatus" uses two different register pairs to collect and report interrupts (based on the value passed to the parameter "bMasked", the value of either *RIS or *IM register is returned in each case).
    * EMACDMARIS/EMACDMAIM
    * EMACEPHYRIS/EMACEPHYMISC

    All the defines mentioned in your post (and in emac.h and emac.c files), except "EMAC_INT_PHY", are values from the register EMACDMARIS/EMACDMAIM.

    The define "EMAC_INT_PHY" is returned (as a logic OR with other interrupts), if the bit "INT" is set in the register EMACEPHYRIS/EMACEPHYMISC.

    For further details refer the API "EMACIntStatus" in the file "./driverlib/emac.c".

    Thanks,
    Sai