Application Callback Functions - 1.2 English

HDMI 2.1 Transmitter Subsystem Product Guide (PG350)

Document ID
PG350
Release Date
2022-04-27
Version
1.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_HdmiTxSs1_SetCallback(XV_HdmiTxSs1 *InstancePtr,
                             u32 HandlerType,
                             void *CallbackFuncPtr,
                             void *CallbackRef);

Available handlers are defined in xv_hdmitxss1.h:

  • XV_HDMITXSS1_HANDLER_CONNECT
  • XV_HDMITXSS1_HANDLER_TOGGLE
  • XV_HDMITXSS1_HANDLER_STREAM_UP
  • XV_HDMITXSS1_HANDLER_STREAM_DOWN
  • XV_HDMITXSS1_HANDLER_VS
  • XV_HDMITXSS1_HANDLER_BRDGLOCK
  • XV_HDMITXSS1_HANDLER_BRDGUNLOCK
  • XV_HDMITXSS1_HANDLER_BRDGOVERFLOW (Debug Only)
  • XV_HDMITXSS1_HANDLER_BRDGUNDERFLOW (Debug Only)
  • XV_HDMITXSS1_HANDLER_FRL_CONFIG
  • XV_HDMITXSS1_HANDLER_FRL_FFE
  • XV_HDMITXSS1_HANDLER_FRL_START
  • XV_HDMITXSS1_HANDLER_FRL_STOP
  • XV_HDMITXSS1_HANDLER_TMDS_CONFIG
  • XV_HDMITXSS1_HANDLER_HDCP_AUTHENTICATE
  • XV_HDMITXSS1_HANDLER_DYNHDR_MWT