/* Enables packet timestamping and starts the system clock running. */
void EMACTimestampEnable(uint32_t ui32Base)
/* Enables packet timestamping and starts the system clock running. */
void EMACTimestampEnable(uint32_t ui32Base)
{
    ASSERT(ui32Base == EMAC0_BASE);
    HWREG(ui32Base + EMAC_O_TIMSTCTRL) |= EMAC_TIMSTCTRL_TSEN;
    if (!(HWREG(ui32Base + EMAC_O_TIMSTCTRL) & EMAC_TIMSTCTRL_TSINIT))
    {
        HWREG(ui32Base + EMAC_O_TIMSTCTRL) |= EMAC_TIMSTCTRL_TSINIT;
    }
}