Btc_dprx_hpd_get, Btc_dprx_hpd_pulse, Btc_dprx_hpd_get -8 – Altera DisplayPort MegaCore Function User Manual
Page 109: Btc_dprx_hpd_pulse -8
btc_dprx_hpd_get
Prototype:
int btc_dprx_hpd_get(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:
Returns the current logic level of the RX HPD.
Example:
btc_dprx_hpd_get(0);
Related Information
•
on page 8-8
•
on page 8-9
btc_dprx_hpd_pulse
Prototype:
void btc_dprx_hpd_pulse(BYTE rx_idx)
Thread-safe:
Yes
Available from
ISR:
Yes
Include:
<
btc_dprx_syslib.h
>
Return:
–
Parameters:
rx_idx
—Sink instance index (0 - 3)
Description:
This function deasserts (i.e., sets to 0) the RX HPD for 750 s. You can use this function to
send an
IRQ_HPD
pulse to the connected DisplayPort source. Before invoking this
function, you must have invoked
btc_dprx_hpd_set
with level = 1 (i.e., HPD must be set
to 1).
Example:
btc_dprx_pulse(0);
8-8
btc_dprx_hpd_get
UG-01131
2015.05.04
Altera Corporation
DisplayPort API Reference