Btc_dptx_video_enable, Btc_dpxx_syslib additional types, Btc_dprx_syslib supported dpcd locations – Altera DisplayPort MegaCore Function User Manual
Page 121: Btc_dptx_video_enable -20, Btc_dpxx_syslib additional types -20, Btc_dprx_syslib supported dpcd locations -20
Description:
This function handles test automation requests from the connected DisplayPort
sink. You should invoke this function after the IP core senses an HPD IRQ and
identifies it as a test automation request. The function implements
TEST_LINK_
TRAINING
and
TEST_EDID_READ
.
Example:
btc_dptx_test_autom();
btc_dptx_video_enable
Prototype:
int btc_dptx_video_enable(BYTE enabled)
Thread-safe:
No
Available from ISR:
Yes
Include:
<
btc_dptx_syslib.h
>
Return:
0 = success, 1 = fail
Parameters:
enabled—
0 = output idle pattern; 1 = output active video
Description:
This function enables the TX to output either active video or an idle pattern.
After successful link training, the TX outputs active video by default.
Example:
btc_dptx_video_enable(1);
btc_dpxx_syslib Additional Types
In addition to the standard ANSI C defined types,
btc_dpxx_syslib
uses the following types:
•
#define BYTE unsigned char
btc_dprx_syslib Supported DPCD Locations
on page 10-33 provides a list of DPCD locations currently supported
in
btc_dprx_syslib
sink instantiations. Read accesses to unsupported locations receive a response of
NATIVE_ACK
with data content set to zero. Write accesses to unsupported locations receive a response of
NATIVE_NACK
.
8-20
btc_dptx_video_enable
UG-01131
2015.05.04
Altera Corporation
DisplayPort API Reference