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
| 3719 | // |
| 3720 | //***************************************************************************** |
| 3721 | uint32_t |
| 3722 | EMACTimestampIntStatus(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 | // |
no outgoing calls
no test coverage detected