Altera DisplayPort MegaCore Function Manuale Utente Pagina 108

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 195
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 107
Return: 0 = success, 1 = fail
Parameters: rx_idx—Sink instance index (0 - 3)
wrcmd—0 = read, 1 = write
address—Address
length—Length (1 - 255)
data—Pointer to data
Description: This function allows the controller to access the sink’s DPCD locations
(implemented in the system library) for reading and writing data. data must point
to a location containing length bytes (writes) or be able to accommodate length
bytes (reads).
Example: btc_dprx_dpcd_gpu_access(0, 1, 0×00000, 1, pwrdata);
btc_dprx_edid_set
Prototype:
int btc_dprx_edid_set(
BYTE rx_idx
BYTE port,
BYTE *edid_data,
BYTE num_blocks)
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)
port—RX port (stream) number (0 – 3)
edid_data—Pointer to EDID data memory
num_blocks—EDID size in blocks
Description: This function allows the controller to set the content of the sink’s EDID
(implemented in the system library). The library references the EDID data and does
not copy it. One block is 128-bytes long. The system library accepts a maximum of
4 blocks (512-byte long EDIDs). Each streaming sink port has its own EDID.
Example: btc_dprx_edid_set(0, 0, pmy_edid, 2);
UG-01131
2015.05.04
btc_dprx_edid_set
8-7
DisplayPort API Reference
Altera Corporation
Send Feedback
Vedere la pagina 107
1 2 ... 103 104 105 106 107 108 109 110 111 112 113 ... 194 195

Commenti su questo manuale

Nessun commento