XilinxProcessorIPLib/drivers/emacps/examples/xemacps_example_intr_dma.c
static void XEmacPsSendHandler(void *Callback)
{
	XEmacPs *EmacPsInstancePtr = (XEmacPs *) Callback;

	/*
	 * Disable the transmit related interrupts
	 */
	XEmacPs_IntDisable(EmacPsInstancePtr, (XEMACPS_IXR_TXCOMPL_MASK |
		XEMACPS_IXR_TX_ERR_MASK));
	if (GemVersion > 2) {
	XEmacPs_IntQ1Disable(EmacPsInstancePtr, XEMACPS_INTQ1_IXR_ALL_MASK);
	}
	/*
	 * Increment the counter so that main thread knows something
	 * happened.
	 */
	FramesTx++;
}
/****************************************************************************/
/**
*
* This the Transmit handler callback function and will increment a shared
* counter that can be shared by the main thread of operation.
*
* @param	Callback is the pointer to the instance of the EmacPs device.
*
* @return	None.
*
* @note		None.
*
*****************************************************************************/
This the Transmit handler callback function and will increment a shared
counter that can be shared by the main thread of operation.
This the Transmit handler callback function and will increment a shared counter that can be shared by the main thread of operation .
static void XEmacPsSendHandler(void *Callback)
{
	XEmacPs *EmacPsInstancePtr = (XEmacPs *) Callback;
	XEmacPs_IntDisable(EmacPsInstancePtr, (XEMACPS_IXR_TXCOMPL_MASK |
		XEMACPS_IXR_TX_ERR_MASK));
	if (GemVersion > 2) {
	XEmacPs_IntQ1Disable(EmacPsInstancePtr, XEMACPS_INTQ1_IXR_ALL_MASK);
	}
	FramesTx++;
}
static void XEmacPsSendHandler ( void * Callback ) { XEmacPs * EmacPsInstancePtr = ( XEmacPs * ) Callback ; XEmacPs_IntDisable ( EmacPsInstancePtr , ( XEMACPS_IXR_TXCOMPL_MASK | XEMACPS_IXR_TX_ERR_MASK ) ) ; if ( GemVersion > 2 ) { XEmacPs_IntQ1Disable ( EmacPsInstancePtr , XEMACPS_INTQ1_IXR_ALL_MASK ) ; } FramesTx ++ ; }
This the Transmit handler callback function and will increment a shared
counter that can be shared by the main thread of operation.
This the Transmit handler callback function and will increment a shared counter that can be shared by the main thread of operation .
/*
	 * Disable the transmit related interrupts
	 */ /*
	 * Increment the counter so that main thread knows something
	 * happened.
	 */