Btc_dptx_baseaddr, Btc_dptx_edid_block_read, Btc_dptx_baseaddr -15 – Altera DisplayPort MegaCore Function User Manual

Page 116: Btc_dptx_edid_block_read -15

Advertising
background image

Related Information

btc_dptx_aux_read

on page 8-13

btc_dptx_baseaddr

Prototype:

unsigned int btc_dptx_baseaddr(void)

Thread-safe:

Yes

Available from ISR:

Yes

Include:

<

btc_dptx_syslib.h

>

Return:

0 = success, 1 = fail

Parameters:

No

Description:

This function returns the base address of the TX instance connected to the

given port number.

Example:

addr = btc_dptx_baseaddr();

btc_dptx_edid_block_read

Prototype:

int btc_dptx_edid_block_read(
BYTE block,
BYTE *data)

Thread-safe:

No

Available from ISR:

Yes

Include:

<

btc_dptx_syslib.h

>

Return:

0 = success, 1 = fail

Parameters:

block

—Block number (0 - 3)

data—

Pointer for data to be read

Description:

Reads one block (128 bytes) from the EDID of the connected DisplayPort sink.

Example:

btc_dptx_edid_block_read(2, pdata);

UG-01131

2015.05.04

btc_dptx_baseaddr

8-15

DisplayPort API Reference

Altera Corporation

Send Feedback

Advertising