XilinxProcessorIPLib/drivers/uartpsv/src/xuartpsv_intr.c
static void XUartPsv_SendDataHandler(XUartPsv *InstancePtr)
{
	/* Send the data. This function takes care of the remaining bytes
	 * check.
	 */
	(void)XUartPsv_SendBuffer(InstancePtr);

	/*
	 * If there are no bytes to be sent from the specified buffer,
	 * inform the application with event.
	 */
	if (InstancePtr->SendBuffer.RemainingBytes == (u32)0) {
		/*
		 * Call the application handler to indicate the sending
		 * is done
		 */
		InstancePtr->Handler(InstancePtr->CallBackRef,
				XUARTPSV_EVENT_SENT_DATA,
				InstancePtr->SendBuffer.RequestedBytes -
				InstancePtr->SendBuffer.RemainingBytes);
	}
}
/*****************************************************************************/
/**
*
* This function handles the interrupt when data has been sent, the transmit
* FIFO is empty (transmitter holding register).
*
* @param	InstancePtr is a pointer to the XUartPsv instance
*
* @return	None.
*
* @note 	None.
*
******************************************************************************/
This function handles the interrupt when data has been sent, the transmit
FIFO is empty (transmitter holding register).
This function handles the interrupt when data has been sent the transmit FIFO is empty ( transmitter holding register ) .
static void XUartPsv_SendDataHandler(XUartPsv *InstancePtr)
{
	(void)XUartPsv_SendBuffer(InstancePtr);
	if (InstancePtr->SendBuffer.RemainingBytes == (u32)0) {
		InstancePtr->Handler(InstancePtr->CallBackRef,
				XUARTPSV_EVENT_SENT_DATA,
				InstancePtr->SendBuffer.RequestedBytes -
				InstancePtr->SendBuffer.RemainingBytes);
	}
}
static void XUartPsv_SendDataHandler ( XUartPsv * InstancePtr ) { ( void ) XUartPsv_SendBuffer ( InstancePtr ) ; if ( InstancePtr -> SendBuffer . RemainingBytes == ( u32 ) 0 ) { InstancePtr -> Handler ( InstancePtr -> CallBackRef , XUARTPSV_EVENT_SENT_DATA , InstancePtr -> SendBuffer . RequestedBytes - InstancePtr -> SendBuffer . RemainingBytes ) ; } }
This function handles the interrupt when data has been sent, the transmit
FIFO is empty (transmitter holding register).
This function handles the interrupt when data has been sent the transmit FIFO is empty ( transmitter holding register ) .
/* Send the data. This function takes care of the remaining bytes
	 * check.
	 */ /*
	 * If there are no bytes to be sent from the specified buffer,
	 * inform the application with event.
	 */ /*
		 * Call the application handler to indicate the sending
		 * is done
		 */