XilinxProcessorIPLib/drivers/rgb2ycrcb/src/xrgb2ycrcb.c
void XRgb2YCrCb_EnableDbgByPass(XRgb2YCrCb *InstancePtr)
{
	/* Verify arguments. */
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->Config.HasDebug != (u16)0x0);

	XRgb2YCrCb_WriteReg(InstancePtr->Config.BaseAddress,
		(XRGB_CONTROL_OFFSET),
			((XRgb2YCrCb_ReadReg(InstancePtr->Config.BaseAddress,
				(XRGB_CONTROL_OFFSET))) |
					(XRGB_CTL_BPE_MASK)));
}
/*****************************************************************************/
/**
*
* This function sets the bypass bit of control register to switch the core to
* bypass mode if debug is enabled in the IP.
*
* @param	InstancePtr is a pointer to the XRgb2YCrCb instance.
*
* @return	None.
*
* @note		Debug functionality should be enabled.
*
******************************************************************************/
This function sets the bypass bit of control register to switch the core to
bypass mode if debug is enabled in the IP.
This function sets the bypass bit of control register to switch the core to bypass mode if debug is enabled in the IP .
void XRgb2YCrCb_EnableDbgByPass(XRgb2YCrCb *InstancePtr)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->Config.HasDebug != (u16)0x0);
	XRgb2YCrCb_WriteReg(InstancePtr->Config.BaseAddress,
		(XRGB_CONTROL_OFFSET),
			((XRgb2YCrCb_ReadReg(InstancePtr->Config.BaseAddress,
				(XRGB_CONTROL_OFFSET))) |
					(XRGB_CTL_BPE_MASK)));
}
void XRgb2YCrCb_EnableDbgByPass ( XRgb2YCrCb * InstancePtr ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> Config . HasDebug != ( u16 ) 0x0 ) ; XRgb2YCrCb_WriteReg ( InstancePtr -> Config . BaseAddress , ( XRGB_CONTROL_OFFSET ) , ( ( XRgb2YCrCb_ReadReg ( InstancePtr -> Config . BaseAddress , ( XRGB_CONTROL_OFFSET ) ) ) | ( XRGB_CTL_BPE_MASK ) ) ) ; }
This function sets the bypass bit of control register to switch the core to
bypass mode if debug is enabled in the IP.
This function sets the bypass bit of control register to switch the core to bypass mode if debug is enabled in the IP .
/* Verify arguments. */