XilinxProcessorIPLib/drivers/tft/src/xtft.c
int XTft_GetVsyncStatus(XTft* InstancePtr)
{
	/*
	 * Assert validates the input arguments.
	 */
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);

	/*
	 * Read the contents of Interrupt Enable and Status Register.
	 */
	return((XTft_ReadReg(InstancePtr, XTFT_IESR_OFFSET) &
		XTFT_IESR_VADDRLATCH_STATUS_MASK)? TRUE : FALSE);
}
/***************************************************************************/
/**
*
* This function gets the Vsync(Video address latch) status from the Interrupt
* Enable and Status Register.
*
* @param	InstancePtr is a pointer to the XTft instance.
*
* @return
*		- TRUE if Vsync pulse has occurred after displaying the
*		  current frame.
*		- FALSE if the TFT core has not completed displaying the
*		  current frame.
*
* @note		Vsync(Video address latch) Status bit will be cleared by the HW
*		after it loads the address from the Address Register and starts
*		displaying the Frame.
*
****************************************************************************/
This function gets the Vsync(Video address latch) status from the Interrupt
Enable and Status Register.
This function gets the Vsync ( Video address latch ) status from the Interrupt Enable and Status Register .
int XTft_GetVsyncStatus(XTft* InstancePtr)
{
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	return((XTft_ReadReg(InstancePtr, XTFT_IESR_OFFSET) &
		XTFT_IESR_VADDRLATCH_STATUS_MASK)? TRUE : FALSE);
}
int XTft_GetVsyncStatus ( XTft * InstancePtr ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; Xil_AssertNonvoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; return ( ( XTft_ReadReg ( InstancePtr , XTFT_IESR_OFFSET ) & XTFT_IESR_VADDRLATCH_STATUS_MASK ) ? TRUE : FALSE ) ; }
This function gets the Vsync(Video address latch) status from the Interrupt
Enable and Status Register.
This function gets the Vsync ( Video address latch ) status from the Interrupt Enable and Status Register .
/*
	 * Assert validates the input arguments.
	 */ /*
	 * Read the contents of Interrupt Enable and Status Register.
	 */