XilinxProcessorIPLib/drivers/resetps/src/xresetps.c
XStatus XResetPs_CfgInitialize(XResetPs *InstancePtr,
					       XResetPs_Config *ConfigPtr)
{
	/* Arguments validation */
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(ConfigPtr != NULL);

	/* Copying instance */
	InstancePtr->Config.DeviceId = ConfigPtr->DeviceId;

	return XST_SUCCESS;
}
/****************************************************************************/
/**
*
* Initialize a specific reset controller instance/driver. This function
* must be called before other functions of the driver are called.
*
* @param	InstancePtr is a pointer to the XResetPs instance.
* @param	ConfigPtr is the config structure.
*
* @return
*		- XST_SUCCESS if initialization was successful.
*
* @note		None.
*
******************************************************************************/
Initialize a specific reset controller instance/driver. This function
must be called before other functions of the driver are called.
Initialize a specific reset controller instance / driver . This function must be called before other functions of the driver are called .
XStatus XResetPs_CfgInitialize(XResetPs *InstancePtr,
					       XResetPs_Config *ConfigPtr)
{
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(ConfigPtr != NULL);
	InstancePtr->Config.DeviceId = ConfigPtr->DeviceId;
	return XST_SUCCESS;
}
XStatus XResetPs_CfgInitialize ( XResetPs * InstancePtr , XResetPs_Config * ConfigPtr ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; Xil_AssertNonvoid ( ConfigPtr != NULL ) ; InstancePtr -> Config . DeviceId = ConfigPtr -> DeviceId ; return XST_SUCCESS ; }
Initialize a specific reset controller instance/driver.
Initialize a specific reset controller instance / driver .
/* Arguments validation */ /* Copying instance */