XilinxProcessorIPLib/drivers/tmr_inject/src/xtmr_inject_selftest.c
int XTMR_Inject_SelfTest(XTMR_Inject *InstancePtr)
{
	/*
	 * Assert validates the input arguments
	 */
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);

	return XST_SUCCESS;
}
/****************************************************************************/
/**
*
* Runs a self-test on the device hardware. Since there is no way to perform a
* loopback in the hardware, this test can only check the state of the status
* register to verify it is correct. This test assumes that the hardware
* device is still in its reset state, but has been initialized with the
* Initialize function.
*
* @param	InstancePtr is a pointer to the XTMR_Inject instance.
*
* @return
* 		- XST_SUCCESS if the self-test was successful.
* 		- XST_FAILURE if the self-test failed, the status register
*			value was not correct
*
* @note		None.
*
******************************************************************************/
Runs a self-test on the device hardware. Since there is no way to perform a
loopback in the hardware, this test can only check the state of the status
register to verify it is correct. This test assumes that the hardware
device is still in its reset state, but has been initialized with the
Initialize function.
Runs a self - test on the device hardware . Since there is no way to perform a loopback in the hardware this test can only check the state of the status register to verify it is correct . This test assumes that the hardware device is still in its reset state but has been initialized with the Initialize function .
int XTMR_Inject_SelfTest(XTMR_Inject *InstancePtr)
{
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	return XST_SUCCESS;
}
int XTMR_Inject_SelfTest ( XTMR_Inject * InstancePtr ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; Xil_AssertNonvoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; return XST_SUCCESS ; }
Runs a self-test on the device hardware.
Runs a self - test on the device hardware .
/*
	 * Assert validates the input arguments
	 */