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

9.27. btc_dptx_aux_write

Prototype:

int btc_dptx_aux_write( 
   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 to data to be written

Description:

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

Example:

btc_dptx_aux_write(0, 0x600, 1, data_ptr);