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


	CtrlReg = XDcfg_ReadReg(InstancePtr->Config.BaseAddr,
					XDCFG_CTRL_OFFSET);

	XDcfg_WriteReg(InstancePtr->Config.BaseAddr, XDCFG_CTRL_OFFSET,
			(CtrlReg & ( ~XDCFG_CTRL_PCAP_MODE_MASK)));

}
/****************************************************************************/
/**
*
* The functions disables the PCAP interface by clearing the PCAP mode bit in
* the control register.
*
* @param	InstancePtr is a pointer to the XDcfg instance.
*
* @return	None.
*
* @note		None.
*
*****************************************************************************/
The functions disables the PCAP interface by clearing the PCAP mode bit in
the control register.
The functions disables the PCAP interface by clearing the PCAP mode bit in the control register .
void XDcfg_DisablePCAP(XDcfg *InstancePtr)
{
	u32 CtrlReg;
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	CtrlReg = XDcfg_ReadReg(InstancePtr->Config.BaseAddr,
					XDCFG_CTRL_OFFSET);
	XDcfg_WriteReg(InstancePtr->Config.BaseAddr, XDCFG_CTRL_OFFSET,
			(CtrlReg & ( ~XDCFG_CTRL_PCAP_MODE_MASK)));
}
void XDcfg_DisablePCAP ( XDcfg * InstancePtr ) { u32 CtrlReg ; Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; CtrlReg = XDcfg_ReadReg ( InstancePtr -> Config . BaseAddr , XDCFG_CTRL_OFFSET ) ; XDcfg_WriteReg ( InstancePtr -> Config . BaseAddr , XDCFG_CTRL_OFFSET , ( CtrlReg & ( ~ XDCFG_CTRL_PCAP_MODE_MASK ) ) ) ; }
The functions disables the PCAP interface by clearing the PCAP mode bit in
the control register.
The functions disables the PCAP interface by clearing the PCAP mode bit in the control register .
/*
	 * Assert the arguments.
	 */