Btc_dprx_baseaddr, Btc_dprx_dpcd_gpu_access, Btc_dprx_baseaddr -6 – Altera DisplayPort MegaCore Function User Manual

Page 107: Btc_dprx_dpcd_gpu_access -6

Advertising
background image

Description:

This function transmits an AUX channel reply to the connected DisplayPort source.

cmd

is the reply command byte (refer to the DisplayPort specification 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, 0×10, 0, NULL); //Reply AUX_NACK

Related Information

btc_dprx_aux_get_request

on page 8-3

btc_dprx_baseaddr

Prototype:

unsigned int btc_dprx_baseaddr(BYTE rx_idx)

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)

Description:

This function returns the RX instance’s base address connected to the given port

number.

Example:

addr = btc_dprx_baseaddr(0);

btc_dprx_dpcd_gpu_access

Prototype:

int btc_dprx_dpcd_gpu_access(
BYTE rx_idx
BYTE wrcmd,
unsigned int address,
BYTE length,
BYTE *data)

Thread-safe:

Yes

Available from ISR:

Yes

Include:

<

btc_dprx_syslib.h

>

8-6

btc_dprx_baseaddr

UG-01131

2015.05.04

Altera Corporation

DisplayPort API Reference

Send Feedback

Advertising