/* Enables or disables the PTP time stamp for transmit and receive frames.  */
void ETH_StartPTPTimeStamp(FunctionalState Cmd)
/* Enables or disables the PTP time stamp for transmit and receive frames.  */
void ETH_StartPTPTimeStamp(FunctionalState Cmd)
{
    assert_param(IS_FUNCTIONAL_STATE(Cmd));
    if (Cmd != DISABLE)
    {
        ETH->PTPTSCTRL |= ETH_PTPTSCTRL_TSENA;
    }
    else
    {
        ETH->PTPTSCTRL &= (~(uint32_t)ETH_PTPTSCTRL_TSENA);
    }
}