XilinxProcessorIPLib/drivers/v_hdmitxss1/src/xv_hdmitxss1_hdcp.c
int XV_HdmiTxSs1_HdcpIsInWaitforready(XV_HdmiTxSs1 *InstancePtr)
{
  /* Verify argument. */
  Xil_AssertNonvoid(InstancePtr != NULL);

  switch (InstancePtr->HdcpProtocol) {
    case XV_HDMITXSS1_HDCP_NONE :
      return FALSE;

#ifdef XPAR_XHDCP_NUM_INSTANCES
    case XV_HDMITXSS1_HDCP_14 :
      return XHdcp1x_IsInWaitforready(InstancePtr->Hdcp14Ptr);
#endif

    case XV_HDMITXSS1_HDCP_22 :
      return FALSE;

    default :
      return FALSE;
  }
}
/*****************************************************************************/
/**
*
* This function checks if the active HDCP protocol is in wait-for-ready state.
*
* @param InstancePtr is a pointer to the XV_HdmiTxSs1 instance.
*
* @return
*  - TRUE if active protocol is in computations state
*  - FALSE if active protocol is not in computations state
*
* @note   None.
*
******************************************************************************/
This function checks if the active HDCP protocol is in wait-for-ready state.
This function checks if the active HDCP protocol is in wait - for - ready state .
int XV_HdmiTxSs1_HdcpIsInWaitforready(XV_HdmiTxSs1 *InstancePtr)
{
  Xil_AssertNonvoid(InstancePtr != NULL);
  switch (InstancePtr->HdcpProtocol) {
    case XV_HDMITXSS1_HDCP_NONE :
      return FALSE;
#ifdef XPAR_XHDCP_NUM_INSTANCES
    case XV_HDMITXSS1_HDCP_14 :
      return XHdcp1x_IsInWaitforready(InstancePtr->Hdcp14Ptr);
#endif
    case XV_HDMITXSS1_HDCP_22 :
      return FALSE;
    default :
      return FALSE;
  }
}
int XV_HdmiTxSs1_HdcpIsInWaitforready ( XV_HdmiTxSs1 * InstancePtr ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; switch ( InstancePtr -> HdcpProtocol ) { case XV_HDMITXSS1_HDCP_NONE : return FALSE ; #ifdef XPAR_XHDCP_NUM_INSTANCES case XV_HDMITXSS1_HDCP_14 : return XHdcp1x_IsInWaitforready ( InstancePtr -> Hdcp14Ptr ) ; #endif case XV_HDMITXSS1_HDCP_22 : return FALSE ; default : return FALSE ; } }
This function checks if the active HDCP protocol is in wait-for-ready state.
This function checks if the active HDCP protocol is in wait - for - ready state .
/* Verify argument. */