XilinxProcessorIPLib/drivers/mipicsiss/examples/xcsiss_intr_example.c
void CsiSs_ErrEventHandler(void *InstancePtr, u32 Mask)
{
	XCsiSs *CsiSsInstance = (XCsiSs *)InstancePtr;

	xil_printf("+===> Other Errors detected.\n\r");
	interrupt_counts++;

	if (Mask & XCSISS_ISR_YUV420_MASK) {
		xil_printf("YUV420 Word count corruption Error\n\r");
	}

	if (Mask & XCSISS_ISR_WC_MASK) {
		xil_printf("Word count corruption Error\n\r");
	}

	if (Mask & XCSISS_ISR_ILC_MASK) {
		xil_printf("Incorrect Lane Count Error \n\r");
	}

	if (Mask & XCSISS_ISR_SLBF_MASK) {
		xil_printf("Stream line buffer full Error \n\r");
	}
}
/*****************************************************************************/
/**
*
* This function is called when a Other errors event is received by the
* MIPI CSI Rx Subsystem core.
*
* @param	InstancePtr is a pointer to the XCsiSs instance.
* @param	Mask of interrupt which caused this event
*
* @return	None.
*
* @note		Use the XCsiSs_SetCallback driver function to set this
*		function as the handler for Other error event.
*
******************************************************************************/
This function is called when a Other errors event is received by the
MIPI CSI Rx Subsystem core.
This function is called when a Other errors event is received by the MIPI CSI Rx Subsystem core .
void CsiSs_ErrEventHandler(void *InstancePtr, u32 Mask)
{
	XCsiSs *CsiSsInstance = (XCsiSs *)InstancePtr;
	xil_printf("+===> Other Errors detected.\n\r");
	interrupt_counts++;
	if (Mask & XCSISS_ISR_YUV420_MASK) {
		xil_printf("YUV420 Word count corruption Error\n\r");
	}
	if (Mask & XCSISS_ISR_WC_MASK) {
		xil_printf("Word count corruption Error\n\r");
	}
	if (Mask & XCSISS_ISR_ILC_MASK) {
		xil_printf("Incorrect Lane Count Error \n\r");
	}
	if (Mask & XCSISS_ISR_SLBF_MASK) {
		xil_printf("Stream line buffer full Error \n\r");
	}
}
void CsiSs_ErrEventHandler ( void * InstancePtr , u32 Mask ) { XCsiSs * CsiSsInstance = ( XCsiSs * ) InstancePtr ; xil_printf ( " \n \r " ) ; interrupt_counts ++ ; if ( Mask & XCSISS_ISR_YUV420_MASK ) { xil_printf ( " \n \r " ) ; } if ( Mask & XCSISS_ISR_WC_MASK ) { xil_printf ( " \n \r " ) ; } if ( Mask & XCSISS_ISR_ILC_MASK ) { xil_printf ( " \n \r " ) ; } if ( Mask & XCSISS_ISR_SLBF_MASK ) { xil_printf ( " \n \r " ) ; } }
This function is called when a Other errors event is received by the
MIPI CSI Rx Subsystem core.
This function is called when a Other errors event is received by the MIPI CSI Rx Subsystem core .