XilinxProcessorIPLib/drivers/v_sditx/src/xv_sditx.c
void XV_SdiTx_ReportDetectedError(XV_SdiTx *InstancePtr)
{
	u32 RegValue;

	/* Verify arguments. */
	Xil_AssertVoid(InstancePtr != NULL);

	RegValue = XV_SdiTx_ReadReg(InstancePtr->Config.BaseAddress,
					(XV_SDITX_ISR_OFFSET));

	if (RegValue & XV_SDITX_ISR_TX_CE_ALIGN_ERR_MASK) {
		xil_printf("\tCE Align Error Detected\r\n");
	} else {
		xil_printf("\tNo Error Detected\r\n");
	}
}
/*****************************************************************************/
/**
*
* This function reports the detected error by the TX core.
*
* @param	InstancePtr is a pointer to the XV_SdiTx core instance.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This function reports the detected error by the TX core.
This function reports the detected error by the TX core .
void XV_SdiTx_ReportDetectedError(XV_SdiTx *InstancePtr)
{
	u32 RegValue;
	Xil_AssertVoid(InstancePtr != NULL);
	RegValue = XV_SdiTx_ReadReg(InstancePtr->Config.BaseAddress,
					(XV_SDITX_ISR_OFFSET));
	if (RegValue & XV_SDITX_ISR_TX_CE_ALIGN_ERR_MASK) {
		xil_printf("\tCE Align Error Detected\r\n");
	} else {
		xil_printf("\tNo Error Detected\r\n");
	}
}
void XV_SdiTx_ReportDetectedError ( XV_SdiTx * InstancePtr ) { u32 RegValue ; Xil_AssertVoid ( InstancePtr != NULL ) ; RegValue = XV_SdiTx_ReadReg ( InstancePtr -> Config . BaseAddress , ( XV_SDITX_ISR_OFFSET ) ) ; if ( RegValue & XV_SDITX_ISR_TX_CE_ALIGN_ERR_MASK ) { xil_printf ( " \t \r \n " ) ; } else { xil_printf ( " \t \r \n " ) ; } }
This function reports the detected error by the TX core.
This function reports the detected error by the TX core .
/* Verify arguments. */