XilinxProcessorIPLib/drivers/rtcpsu/examples/xrtcpsu_seconds_interrupt_example.c
void Handler(void *CallBackRef, u32 Event)
{
	/* A new second event */
	if (Event == XRTCPSU_EVENT_SECS_GEN) {
		Seconds++;
		xil_printf("A new second is generated.\n\r");
	}
}
/**************************************************************************/
/**
*
* This function is the handler which performs processing to handle interrupt
* events from the device.  It is called from an interrupt context. so the
* amount of processing should be minimal.
*
* This handler provides an example of how to handle interrupt data for the
* device and is application specific.
*
* @param	CallBackRef contains a callback reference from the driver,
*		in this case it is the instance pointer for the XRtcPsu driver.
* @param	Event contains the specific kind of event that has occurred.
*
* @return	None.
*
* @note		None.
*
***************************************************************************/
This function is the handler which performs processing to handle interrupt
events from the device.  It is called from an interrupt context. so the
amount of processing should be minimal.

This handler provides an example of how to handle interrupt data for the
device and is application specific.
This function is the handler which performs processing to handle interrupt events from the device . It is called from an interrupt context . so the amount of processing should be minimal . This handler provides an example of how to handle interrupt data for the device and is application specific .
void Handler(void *CallBackRef, u32 Event)
{
	if (Event == XRTCPSU_EVENT_SECS_GEN) {
		Seconds++;
		xil_printf("A new second is generated.\n\r");
	}
}
void Handler ( void * CallBackRef , u32 Event ) { if ( Event == XRTCPSU_EVENT_SECS_GEN ) { Seconds ++ ; xil_printf ( " \n \r " ) ; } }
This function is the handler which performs processing to handle interrupt
events from the device.
This function is the handler which performs processing to handle interrupt events from the device .
/* A new second event */