Application Callback Functions - 3.2 English

HDMI 1.4/2.0 Transmitter Subsystem Product Guide (PG235)

Document ID
PG235
Release Date
2023-10-18
Version
3.2 English

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