XilinxProcessorIPLib/drivers/v_hdmirxss1/src/xv_hdmirxss1.c
int XV_HdmiRxSs1_SetLogCallback(XV_HdmiRxSs1 *InstancePtr,
    u64 *CallbackFunc,
    void *CallbackRef)
{
	u32 Status = (XST_FAILURE);

    InstancePtr->LogWriteCallback = (XV_HdmiRxSs1_LogCallback)CallbackFunc;
    InstancePtr->LogWriteRef = CallbackRef;
    Status = (XST_SUCCESS);

    return Status;
}
/*****************************************************************************/
/**
*
* This function installs an asynchronous callback function for the LogWrite
* API:
*
* @param    InstancePtr is a pointer to the HDMI RX Subsystem instance.
* @param    CallbackFunc is the address of the callback function.
* @param    CallbackRef is a user data item that will be passed to the
*       callback function when it is invoked.
*
* @return
*       - XST_SUCCESS if callback function installed successfully.
*       - XST_INVALID_PARAM when callback function is not installed
*                successfully.
*
******************************************************************************/
This function installs an asynchronous callback function for the LogWrite
API.
This function installs an asynchronous callback function for the LogWrite API .
int XV_HdmiRxSs1_SetLogCallback(XV_HdmiRxSs1 *InstancePtr,
    u64 *CallbackFunc,
    void *CallbackRef)
{
	u32 Status = (XST_FAILURE);
    InstancePtr->LogWriteCallback = (XV_HdmiRxSs1_LogCallback)CallbackFunc;
    InstancePtr->LogWriteRef = CallbackRef;
    Status = (XST_SUCCESS);
    return Status;
}
int XV_HdmiRxSs1_SetLogCallback ( XV_HdmiRxSs1 * InstancePtr , u64 * CallbackFunc , void * CallbackRef ) { u32 Status = ( XST_FAILURE ) ; InstancePtr -> LogWriteCallback = ( XV_HdmiRxSs1_LogCallback ) CallbackFunc ; InstancePtr -> LogWriteRef = CallbackRef ; Status = ( XST_SUCCESS ) ; return Status ; }
This function installs an asynchronous callback function for the LogWrite
API:
This function installs an asynchronous callback function for the LogWrite API :