Application Callback Functions - 3.1 English

HDMI 1.4/2.0 Receiver Subsystem Product Guide (PG236)

Document ID
PG236
Release Date
2020-12-11
Version
3.1 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_HdmiRxSs_SetCallback(XV_HdmiRxSs *InstancePtr,
                            u32 HandlerType,
                            void *CallbackFuncPtr,
                            void *CallbackRef);

Available handlers are defined in xv_hdmirxss.h:

  • XV_HDMIRXSS_HANDLER_CONNECT
  • XV_HDMIRXSS_HANDLER_AUX
  • XV_HDMIRXSS_HANDLER_AUD
  • XV_HDMIRXSS_HANDLER_STREAM_UP
  • XV_HDMIRXSS_HANDLER_STREAM_DOWN
  • XV_HDMIRXSS_HANDLER_STREAM_INIT