DisplayPort Intel® FPGA IP User Guide

ID 683273
Date 1/24/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents
Give Feedback

9.59. btc_dptx_mst_remote_i2c_rd_rep

Prototype:

int btc_dptx_mst_remote_i2c_rd_rep( 
   BYTE tx_idx,
   BTC_MST_I2C_RD_DATA *data,
   BYTE *GUID,
   BYTE *reas_for_nak,
   BYTE *nak_data)

Thread-safe:

No

Available from ISR:

No

Include:

< btc_dptx_syslib.h >

Return:

0 = ACK, 1 = NACK, 2 = Not ready

Parameters:

  • tx_idx—Source instance index (0 - 3)
  • data—Replied data
  • GUID—For NAK replies, GUID originating the NAK
  • reas_for_nak—For NAK replies, reason_for_nak (pointer to 1 byte)
  • nak_data—For NAK replies, nak_data (pointer to 2 bytes)

Description:

This function returns the connected DisplayPort sink reply to the last issued REMOTE_I2C_READ DOWN_REQ MST sideband message. Call this function until either ACK or NACK is returned. ‘2’ is returned when the reply has not yet been received.

Example:

btc_dptx_mst_remote_i2c_rd_rep(0,p_buf,p_GUID,p_rfn,p_nd);