XilinxProcessorIPLib/drivers/dp14txss/examples/src/zcu_pt_dp14_hdcp/rx.c
void DpRxSs_TrainingDoneHandler(void *InstancePtr)
{

	DpRxSsInst.link_up_trigger = 1;
	DpRxSsInst.VBlankCount = 0;
	rx_unplugged = 0;
#if ENABLE_HDCP_IN_DESIGN
    XDpRxSs_SetLane(&DpRxSsInst, DpRxSsInst.UsrOpt.LaneCount);
#if ENABLE_HDCP1x_IN_RX
    XDpRxSs_SetPhysicalState(&DpRxSsInst, hdcp_capable_org); //TRUE);
#endif
#if (ENABLE_HDCP1x_IN_RX | ENABLE_HDCP1x_IN_TX)
    XHdcp1xExample_Poll();
#endif
#endif

    XDpRxSs_HdcpSetProtocol(&DpRxSsInst, XDPRXSS_HDCP_14);
	XDpRxSs_HdcpEnable(&DpRxSsInst);
}
/*****************************************************************************/
/**
*
* This function is the callback function for when the training done interrupt
* occurs.
*
* @param    InstancePtr is a pointer to the XDpRxSs instance.
*
* @return    None.
*
* @note        None.
*
******************************************************************************/
This function is the callback function for when the training done interrupt
occurs.
This function is the callback function for when the training done interrupt occurs .
void DpRxSs_TrainingDoneHandler(void *InstancePtr)
{
	DpRxSsInst.link_up_trigger = 1;
	DpRxSsInst.VBlankCount = 0;
	rx_unplugged = 0;
#if ENABLE_HDCP_IN_DESIGN
    XDpRxSs_SetLane(&DpRxSsInst, DpRxSsInst.UsrOpt.LaneCount);
#if ENABLE_HDCP1x_IN_RX
    XDpRxSs_SetPhysicalState(&DpRxSsInst, hdcp_capable_org); 
#endif
#if (ENABLE_HDCP1x_IN_RX | ENABLE_HDCP1x_IN_TX)
    XHdcp1xExample_Poll();
#endif
#endif
    XDpRxSs_HdcpSetProtocol(&DpRxSsInst, XDPRXSS_HDCP_14);
	XDpRxSs_HdcpEnable(&DpRxSsInst);
}
void DpRxSs_TrainingDoneHandler ( void * InstancePtr ) { DpRxSsInst . link_up_trigger = 1 ; DpRxSsInst . VBlankCount = 0 ; rx_unplugged = 0 ; #if ENABLE_HDCP_IN_DESIGN XDpRxSs_SetLane ( & DpRxSsInst , DpRxSsInst . UsrOpt . LaneCount ) ; #if ENABLE_HDCP1x_IN_RX XDpRxSs_SetPhysicalState ( & DpRxSsInst , hdcp_capable_org ) ; #endif #if ( ENABLE_HDCP1x_IN_RX | ENABLE_HDCP1x_IN_TX ) XHdcp1xExample_Poll ( ) ; #endif #endif XDpRxSs_HdcpSetProtocol ( & DpRxSsInst , XDPRXSS_HDCP_14 ) ; XDpRxSs_HdcpEnable ( & DpRxSsInst ) ; }
This function is the callback function for when the training done interrupt
occurs.
This function is the callback function for when the training done interrupt occurs .
//TRUE);