There are several interrupt handlers available in the Video PHY Controller /HDMI GT Subsystem driver to hook up with user-defined callback functions to support HDMI 1.4/2.0 TX Subsystem functionality. These interrupt handlers are defined in xvphy.h:
- XVPHY_HDMI_HANDLER_TXINIT
- XVPHY_HDMI_HANDLER_TXREADY
Callback functions need to be defined in the application code and hooked up with these interrupt handlers.
void XVphy_SetHdmiCallback(XVphy *InstancePtr,
XVphy_HdmiHandlerType HandlerType,
void *CallbackFunc,
void *CallbackRef);