/* Configures the Ethernet MAC PPS output in command mode. 
To use command mode, an application must call this function to enable the mode, then call: */
void EMACTimestampPPSCommandModeSet(uint32_t ui32Base, uint32_t ui32Config)
/* Configures the Ethernet MAC PPS output in command mode. 
To use command mode, an application must call this function to enable the mode, then call: */
void EMACTimestampPPSCommandModeSet(uint32_t ui32Base, uint32_t ui32Config)
{
    ASSERT(ui32Base == EMAC0_BASE);
    ASSERT(!(ui32Config & (EMAC_PPS_TARGET_INT | EMAC_PPS_TARGET_PPS |
                           EMAC_PPS_TARGET_BOTH)));
    while(HWREG(ui32Base + EMAC_O_PPSCTRL) & EMAC_PPSCTRL_PPSCTRL_M)
    {
    }
    HWREG(ui32Base + EMAC_O_PPSCTRL) = (EMAC_PPSCTRL_PPSEN0 | ui32Config);
}