There are several interrupt handlers available in the HDMI PHY Controller /HDMI GT Subsystem driver to hook up with user-defined callback functions to support the HDMI 2.1 RX Subsystem functionality. These interrupt handlers are defined in xhdmiphy1.h:
- XHDMIPHY1_HDMI_HANDLER_RXINIT
- XHDMIPHY1_HDMI_HANDLER_RXREADY
Callback functions need to be defined in the application code and hooked up with these interrupt handlers.
void XHdmiphy1_SetHdmiCallback(XHdmiphy1 *InstancePtr,
XHdmiphy1_HdmiHandlerType HandlerType,
void *CallbackFunc,
void *CallbackRef);