XilinxProcessorIPLib/drivers/tft/src/xtft.c
u32 XTft_ReadReg(XTft* InstancePtr, u32 RegOffset)
{
	u32 Data = 0;
	/*
	 * Assert validates the input arguments.
	 */
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);


	Data = Xil_In32(InstancePtr->TftConfig.BaseAddress +
				RegOffset);

	return Data;

}
/***************************************************************************/
/**
*
* Read a value from a TFT register. A 32 bit read is performed.
*
* @param	InstancePtr is a pointer to the XTft instance.
* @param	RegOffset is the register offset from the base to read from.
*
* @return	Data read from the register.
*
* @note		None.
*
*
****************************************************************************/
Read a value from a TFT register. A 32 bit read is performed.
Read a value from a TFT register . A 32 bit read is performed .
u32 XTft_ReadReg(XTft* InstancePtr, u32 RegOffset)
{
	u32 Data = 0;
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	Data = Xil_In32(InstancePtr->TftConfig.BaseAddress +
				RegOffset);
	return Data;
}
u32 XTft_ReadReg ( XTft * InstancePtr , u32 RegOffset ) { u32 Data = 0 ; Xil_AssertNonvoid ( InstancePtr != NULL ) ; Xil_AssertNonvoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; Data = Xil_In32 ( InstancePtr -> TftConfig . BaseAddress + RegOffset ) ; return Data ; }
Read a value from a TFT register.
Read a value from a TFT register .
/*
	 * Assert validates the input arguments.
	 */