XilinxProcessorIPLib/drivers/v_hdmitxss/src/xv_hdmitxss.c
u32 XV_HdmiTxSs_SendGenericAuxInfoframe(XV_HdmiTxSs *InstancePtr, void *Aux)
{
  u8 Index;
  XHdmiC_Aux *tx_aux = (XHdmiC_Aux *)Aux;

  // Header
  InstancePtr->HdmiTxPtr->Aux.Header.Data = tx_aux->Header.Data;

  // Data
  for (Index = 0; Index < 8; Index++) {
    InstancePtr->HdmiTxPtr->Aux.Data.Data[Index] =
    tx_aux->Data.Data[Index];
  }

  /* Send packet */
  return XV_HdmiTx_AuxSend(InstancePtr->HdmiTxPtr);
}
/*****************************************************************************/
/**
*
* This function sends generic info frames.
*
* @param  None.
*
* @return
*       - XST_SUCCESS if infoframes transmitted successfully.
*       - XST_FAILURE if AUX FIFO is full.
*
* @note   None.
*
******************************************************************************/
This function sends generic info frames.
This function sends generic info frames .
u32 XV_HdmiTxSs_SendGenericAuxInfoframe(XV_HdmiTxSs *InstancePtr, void *Aux)
{
  u8 Index;
  XHdmiC_Aux *tx_aux = (XHdmiC_Aux *)Aux;
  InstancePtr->HdmiTxPtr->Aux.Header.Data = tx_aux->Header.Data;
  for (Index = 0; Index < 8; Index++) {
    InstancePtr->HdmiTxPtr->Aux.Data.Data[Index] =
    tx_aux->Data.Data[Index];
  }
  return XV_HdmiTx_AuxSend(InstancePtr->HdmiTxPtr);
}
u32 XV_HdmiTxSs_SendGenericAuxInfoframe ( XV_HdmiTxSs * InstancePtr , void * Aux ) { u8 Index ; XHdmiC_Aux * tx_aux = ( XHdmiC_Aux * ) Aux ; InstancePtr -> HdmiTxPtr -> Aux . Header . Data = tx_aux -> Header . Data ; for ( Index = 0 ; Index < 8 ; Index ++ ) { InstancePtr -> HdmiTxPtr -> Aux . Data . Data [ Index ] = tx_aux -> Data . Data [ Index ] ; } return XV_HdmiTx_AuxSend ( InstancePtr -> HdmiTxPtr ) ; }
This function sends generic info frames.
This function sends generic info frames .
// Header // Data /* Send packet */