XilinxProcessorIPLib/drivers/v_hdmirxss/src/xv_hdmirxss.c
void XV_HdmiRxSs_ReportSubcoreVersion(XV_HdmiRxSs *InstancePtr)
{
  u32 Data;

  if(InstancePtr->HdmiRxPtr)
  {
     Data = XV_HdmiRx_GetVersion(InstancePtr->HdmiRxPtr);
     xil_printf("  HDMI RX version : %02d.%02d (%04x)\r\n",
     ((Data >> 24) & 0xFF), ((Data >> 16) & 0xFF), (Data & 0xFFFF));
  }

#ifdef XPAR_XHDCP_NUM_INSTANCES
  if (InstancePtr->Hdcp14Ptr){
     Data = XHdcp1x_GetVersion(InstancePtr->Hdcp14Ptr);
     xil_printf("  HDCP 1.4 RX version : %02d.%02d (%04x)\r\n",
        ((Data >> 24) & 0xFF), ((Data >> 16) & 0xFF), (Data & 0xFFFF));
  }
#endif

}
/*****************************************************************************/
/**
*
* This function prints the HDMI RX SS subcore versions
*
* @param  None.
*
* @return None.
*
* @note   None.
*
******************************************************************************/
This function prints the HDMI RX SS subcore versions
This function prints the HDMI RX SS subcore versions
void XV_HdmiRxSs_ReportSubcoreVersion(XV_HdmiRxSs *InstancePtr)
{
  u32 Data;
  if(InstancePtr->HdmiRxPtr)
  {
     Data = XV_HdmiRx_GetVersion(InstancePtr->HdmiRxPtr);
     xil_printf("  HDMI RX version : %02d.%02d (%04x)\r\n",
     ((Data >> 24) & 0xFF), ((Data >> 16) & 0xFF), (Data & 0xFFFF));
  }
#ifdef XPAR_XHDCP_NUM_INSTANCES
  if (InstancePtr->Hdcp14Ptr){
     Data = XHdcp1x_GetVersion(InstancePtr->Hdcp14Ptr);
     xil_printf("  HDCP 1.4 RX version : %02d.%02d (%04x)\r\n",
        ((Data >> 24) & 0xFF), ((Data >> 16) & 0xFF), (Data & 0xFFFF));
  }
#endif
}
void XV_HdmiRxSs_ReportSubcoreVersion ( XV_HdmiRxSs * InstancePtr ) { u32 Data ; if ( InstancePtr -> HdmiRxPtr ) { Data = XV_HdmiRx_GetVersion ( InstancePtr -> HdmiRxPtr ) ; xil_printf ( " \r \n " , ( ( Data >> 24 ) & 0xFF ) , ( ( Data >> 16 ) & 0xFF ) , ( Data & 0xFFFF ) ) ; } #ifdef XPAR_XHDCP_NUM_INSTANCES if ( InstancePtr -> Hdcp14Ptr ) { Data = XHdcp1x_GetVersion ( InstancePtr -> Hdcp14Ptr ) ; xil_printf ( " \r \n " , ( ( Data >> 24 ) & 0xFF ) , ( ( Data >> 16 ) & 0xFF ) , ( Data & 0xFFFF ) ) ; } #endif }
This function prints the HDMI RX SS subcore versions
This function prints the HDMI RX SS subcore versions