HDMI 1.4/2.0 TX Subsystem
100
PG235 October 4, 2017
Appendix
C:
Application Software Development
void XVphy_Clkout1OBufTdsEnable(XVphy *InstancePtr,
XVphy_DirectionType Dir,
u8 Enable);
3. Set HDMI 1.4/2.0 Transmitter Subsystem Sampling Rate with the Video PHY Controller
TX Sampling Rate.
void XV_HdmiTxSs_SetSamplingRate(XV_HdmiTxSs *InstancePtr,
u8 SamplingRate);
XV_HDMITXSS_HANDLER_STREAM_DOWN
This interrupt is triggered every time the Video PHY Controller is reconfigured and the
output clock is not stable for HDMI 1.4/2.0 Transmitter Subsystem to stream video.
The callback function might disable TX TMDS Clock by calling Video PHY Controller API:
void XVphy_Clkout1OBufTdsEnable(XVphy *InstancePtr,
XVphy_DirectionType Dir,
u8 Enable);
XV_HDMITXSS_HANDLER_HDCP_AUTHENTICATE
This interrupt is triggered when a cable is connected, a HDCP 1.4 or HDCP 2.2 is enabled,
and HDCP is entering an authentication state.
The callback function needs to perform the following:
1. Enable HDCP encryption.
2. Signal to the system that authentication has successfully completed.
Video PHY Controller Interrupt Handlers for HDMI 1.4/2.0 Transmitter
Subsystem
There are several interrupt handlers available in the Video PHY Controller driver to hook up
with user-defined callback functions to support HDMI 1.4/2.0 Transmitter 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);