DisplayPort Intel® FPGA IP User Guide

ID 683273
Date 10/16/2023
Public
Document Table of Contents

9.5. btc_dprx_aux_post_reply

Prototype:

int btc_dprx_aux_post_reply( 
   BYTE rx_idx 
   BYTE cmd,
   BYTE size, 
   BYTE *data)

Thread-safe:

Yes

Available from ISR:

Yes

Include:

< btc_dprx_syslib.h >

Return:

0 = success, 1 = fail

Parameters:

  • rx_idx—Sink instance index (0 - 3)
  • cmd—Command
  • size—Number of data bytes transmitted (0 - 16)
  • data—Pointer to data transmitted

Description:

This function transmits an AUX channel reply to the connected DisplayPort source. cmd is the reply command byte (refer to the VESA DisplayPort Standard for more details). When the reply includes read data, *data fills with the data bytes sent to the source. To support replies with no data returned, size is the actual len byte sent to the source incremented by one.

Example:

btc_dprx_aux_post_reply (0, 0x10, 0, NULL); //Reply AUX_NACK