XilinxProcessorIPLib/drivers/tft/src/xtft.c
void XTft_SetPos(XTft *InstancePtr, u32 ColVal, u32 RowVal)
{
	/*
	 * Assert validates the input arguments.
	 */
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	Xil_AssertVoid(ColVal <= (XTFT_DISPLAY_WIDTH - 1));
	Xil_AssertVoid(RowVal <= (XTFT_DISPLAY_HEIGHT - 1));

	/*
	 * Update the column, row position values.
	 */
	InstancePtr->ColVal = ColVal;
	InstancePtr->RowVal = RowVal;

}
/***************************************************************************/
/**
*
* This function updates the column, row position in the Instance structure
* of driver.
*
* @param	InstancePtr is a pointer to the XTft instance.
* @param	ColVal is the column number to which ColVal member of
*		Instance structure is updated. The valid values are
*		0 to (XTFT_DISPLAY_WIDTH - 1).
* @param	RowVal is the row number to which RowVal member of
*		Instance structure is updated. The valid values are
*		0 to (XTFT_DISPLAY_HEIGHT - 1).
*
* @return	None.
*
* @note		None.
*
****************************************************************************/
This function updates the column, row position in the Instance structure
of driver.
This function updates the column row position in the Instance structure of driver .
void XTft_SetPos(XTft *InstancePtr, u32 ColVal, u32 RowVal)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	Xil_AssertVoid(ColVal <= (XTFT_DISPLAY_WIDTH - 1));
	Xil_AssertVoid(RowVal <= (XTFT_DISPLAY_HEIGHT - 1));
	InstancePtr->ColVal = ColVal;
	InstancePtr->RowVal = RowVal;
}
void XTft_SetPos ( XTft * InstancePtr , u32 ColVal , u32 RowVal ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; Xil_AssertVoid ( ColVal <= ( XTFT_DISPLAY_WIDTH - 1 ) ) ; Xil_AssertVoid ( RowVal <= ( XTFT_DISPLAY_HEIGHT - 1 ) ) ; InstancePtr -> ColVal = ColVal ; InstancePtr -> RowVal = RowVal ; }
This function updates the column, row position in the Instance structure
of driver.
This function updates the column row position in the Instance structure of driver .
/*
	 * Assert validates the input arguments.
	 */ /*
	 * Update the column, row position values.
	 */