![Xilinx HDMI 1.4 Скачать руководство пользователя страница 94](http://html1.mh-extra.com/html/xilinx/hdmi-1-4/hdmi-1-4_product-manual_3383632094.webp)
HDMI 1.4/2.0 TX Subsystem
94
PG235 October 4, 2017
Appendix
C:
Application Software Development
°
XV_HdmiTxSS_HdcpIntrHandler
°
XV_HdmiTxSS_HdcpTimerIntrHandler
°
XV_HdmiTxSS_Hdcp22TimerIntrHandler
4. Set the HDCP user callback functions. These callback functions are used to hook into
HDCP state machine and allow the user to take action at various stages of the protocol.
If there is no use for the callback at the application level, then the callback can be left
undefined.
°
XV_HdmiTxSs_SetCallback
-
XV_HDMITXSS_HANDLER_HDCP_AUTHENTICATED
°
XV_HDMITXSS_HANDLER_HDCP_DOWNSTREAM_TOPOLOGY_AVAILABLE
-
XV_HDMITXSS_HANDLER_HDCP_UNAUTHENTICATED
5. Execute the poll function to run the HDCP state machine. This function checks to see
which HDCP protocol is enabled, and then execute only the active protocol. The call to
this function can be inserted in the main loop of the user application and should
execute continuously. Because the HDCP TX state machine is run using this poll function,
it is important to ensure that this function is given adequate CPU runtime, especially
during authentication attempts.
°
XV_HdmiTxSs_HdcpPoll
6. Optionally, set the HDCP protocol capability. The default option is both, which means
that if both HDCP 1.4 and HDCP 2.2 are included as part of the HDMI subsystem, the
transmitter tries to authenticate with either protocol based on the capability of the
downstream device. Note that HDCP 2.2 is given priority over HDCP 1.4. If the capability
is set to none, then authentication attempts are ignored.
°
XV_HdmiTxSs_HdcpSetCapability
-
XV_HDMITXSS_HDCP_NONE
-
XV_HDMITXSS_HDCP_14
-
XV_HDMITXSS_HDCP_22
-
XV_HDMITXSS_HDCP_BOTH
7. Authentication should be initiated only after the transmission of video to the
downstream device. It is the responsibility of the user application to determine when to
issue authentication requests. Authentication requests are commonly initiated for the
following events: stream-up, and HPD toggle. In the event that the first authentication
request is not successful, the user application can issue another authentication request.
°
XV_HdmiTxSs_HdcpPushEvent
- XV_HDMITXSS_HDCP_AUTHENTICATE_EVT
8. Check the status of authentication. These checks could be performed before issuing
authentication requests.