XilinxProcessorIPLib/drivers/axiethernet/examples/avb/xavb_example.c
void AvbGMDiscontinuityHandler(void *CallBackRef, u32 TimestampsUncertain)
{

  xil_printf("\r\nGMDiscontinuityHandler: Timestamps are now %s\r\n",
		TimestampsUncertain ? "uncertain" : "certain");

}
/****************************************************************************/
/**
*
* This function is the handler which will be called if the PTP drivers
* identify a possible discontinuity in GrandMaster time.
*
* This handler provides an example of how to handle this situation -
* but this function is application specific.
*
*
* @param	CallBackRef contains a callback reference from the driver, in
*		this case it is the instance pointer for the AVB driver.
* @param	TimestampsUncertain - a value of 1 indicates that there is a
*		possible discontinuity in GrandMaster time. A value of 0
*		indicates that Timestamps are no longer uncertain.
*
* @return	None.
*
* @note		This Handler need to be defined otherwise the XAvb_StubHandler
*		will generate an error
*
****************************************************************************/
This function is the handler which will be called if the PTP drivers
identify a possible discontinuity in GrandMaster time.

This handler provides an example of how to handle this situation
but this function is application specific.
This function is the handler which will be called if the PTP drivers identify a possible discontinuity in GrandMaster time . This handler provides an example of how to handle this situation but this function is application specific .
void AvbGMDiscontinuityHandler(void *CallBackRef, u32 TimestampsUncertain)
{
  xil_printf("\r\nGMDiscontinuityHandler: Timestamps are now %s\r\n",
		TimestampsUncertain ? "uncertain" : "certain");
}
void AvbGMDiscontinuityHandler ( void * CallBackRef , u32 TimestampsUncertain ) { xil_printf ( " \r \n \r \n " , TimestampsUncertain ? " " : " " ) ; }
This function is the handler which will be called if the PTP drivers
identify a possible discontinuity in GrandMaster time.
This function is the handler which will be called if the PTP drivers identify a possible discontinuity in GrandMaster time .