MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / EMACTimestampIntStatus

Function EMACTimestampIntStatus

bsp/tm4c129x/libraries/driverlib/emac.c:3721–3733  ·  view source on GitHub ↗

Reads the status of the Ethernet system time interrupt. \param ui32Base is the base address of the controller. When an Ethernet interrupt occurs and \b EMAC_INT_TIMESTAMP is reported bu EMACIntStatus(), this function must be called to read and clear the timer interrupt status. \return The return value is the logical OR of the values \b EMAC_TS_INT_TS_SEC_OVERFLOW and \b EMAC_TS_INT_TARGET_REACH

Source from the content-addressed store, hash-verified

3719//
3720//*****************************************************************************
3721uint32_t
3722EMACTimestampIntStatus(uint32_t ui32Base)
3723{
3724 //
3725 // Parameter sanity check.
3726 //
3727 ASSERT(ui32Base == EMAC0_BASE);
3728
3729 //
3730 // Return the current interrupt status from the timestamp module.
3731 //
3732 return(HWREG(ui32Base + EMAC_O_TIMSTAT));
3733}
3734
3735//*****************************************************************************
3736//

Callers 1

lwIPEthernetIntHandlerFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected