XilinxProcessorIPLib/drivers/aiengine/src/lib/xaielib.c
int XAieLib_InterruptRegisterIsr(int Offset, int (*Handler) (void *Data), void *Data)
{
#ifdef __AIESIM__
	return XAIELIB_FAILURE;
#elif defined __AIEBAREMTL__
	return XAIELIB_FAILURE;
#else
	return XAieIO_IntrRegisterIsr(Offset, Handler, Data);
#endif
}
/*****************************************************************************/
/**
*
* This API registers the handler for interrupt
*
* @param	Offset: The value should one of 1 - 3.
* @param	Handler: the callback to be called upon interrupt.
* @param	Data: the data to be used with the handler.
*
* @return	XAIELIB_SUCCESS on success, otherwise XAIELIB_FAILURE.
*
* @note		None.
*
*******************************************************************************/
This API registers the handler for interrupt
This API registers the handler for interrupt
int XAieLib_InterruptRegisterIsr(int Offset, int (*Handler) (void *Data), void *Data)
{
#ifdef __AIESIM__
	return XAIELIB_FAILURE;
#elif defined __AIEBAREMTL__
	return XAIELIB_FAILURE;
#else
	return XAieIO_IntrRegisterIsr(Offset, Handler, Data);
#endif
}
int XAieLib_InterruptRegisterIsr ( int Offset , int ( * Handler ) ( void * Data ) , void * Data ) { #ifdef __AIESIM__ return XAIELIB_FAILURE ; #elif defined __AIEBAREMTL__ return XAIELIB_FAILURE ; #else return XAieIO_IntrRegisterIsr ( Offset , Handler , Data ) ; #endif }
This API registers the handler for interrupt
This API registers the handler for interrupt