XilinxProcessorIPLib/drivers/devcfg/src/xdevcfg.c
void XDcfg_SetLockRegister(XDcfg *InstancePtr, u32 Data)
{
	/*
	 * Assert the arguments.
	 */
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);

	XDcfg_WriteReg(InstancePtr->Config.BaseAddr, XDCFG_LOCK_OFFSET, Data);

}
/****************************************************************************/
/**
*
* The function sets the contents of the Lock Register. These bits
* can only be set to a 1. They will be cleared after a Power On Reset.
*
* @param	InstancePtr is a pointer to the XDcfg instance.
* @param	Data is the 32 bit data to be written to the Register.
*
* @return	None.
*
* @note		None.
*
*****************************************************************************/
The function sets the contents of the Lock Register. These bits
can only be set to a 1. They will be cleared after a Power On Reset.
The function sets the contents of the Lock Register . These bits can only be set to a 1 . They will be cleared after a Power On Reset .
void XDcfg_SetLockRegister(XDcfg *InstancePtr, u32 Data)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	XDcfg_WriteReg(InstancePtr->Config.BaseAddr, XDCFG_LOCK_OFFSET, Data);
}
void XDcfg_SetLockRegister ( XDcfg * InstancePtr , u32 Data ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; XDcfg_WriteReg ( InstancePtr -> Config . BaseAddr , XDCFG_LOCK_OFFSET , Data ) ; }
The function sets the contents of the Lock Register.
The function sets the contents of the Lock Register .
/*
	 * Assert the arguments.
	 */