The subsystem driver provides a mechanism for the application to register a user-defined function that gets called within an interrupt context.
Callback functions defined in the application code must be registered with provided handlers, using the following defined API:
int XV_HdmiTxSs_SetCallback(XV_HdmiTxSs *InstancePtr,
u32 HandlerType,
void *CallbackFuncPtr,
void *CallbackRef);
Available handlers are defined in xv_hdmitxss.h
:
- XV_HDMITXSS_HANDLER_CONNECT
- XV_HDMITXSS_HANDLER_STREAM_UP
- XV_HDMITXSS_HANDLER_STREAM_DOWN
- XV_HDMITXSS_HANDLER_VS
- XV_HDMITXSS_HANDLER_HDCP_AUTHENTICATE