DisplayPort Intel® FPGA IP User Guide

ID 683273
Date 11/12/2021
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.26. btc_dptx_aux_read

Prototype:

int btc_dptx_aux_read(
   BYTE tx_idx, 
   unsigned int address, 
   BYTE         size, 
   BYTE         *data)

Thread-safe:

No

Available from ISR:

Yes

Include:

< btc_dptx_syslib.h >

Return:

  • 0 = AUX_ACK replied
  • 1 = Source internal error
  • 2 = Reply timeout
  • 3 = AUX_NACK replied
  • 4 = AUX_DEFER replied
  • 5 = Invalid reply

Parameters

  • tx_idx—Source instance index (0 - 3)
  • address—DPCD start address
  • size—Number of bytes (1 - 16)
  • data—Pointer for data to be read

Description:

This function reads 1 to 16 data bytes from the connected DisplayPort sink’s DPCD.

Example:

btc_dptx_aux_read(0, 0x202, 2, &status);