Altera DisplayPort MegaCore Function User Manual Page 115

  • Download
  • Add to my manuals
  • Print
  • Page
    / 195
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 114
Return: 0 = AUX_ACK replied
1 = Source internal error
2 = Reply timeout
3 = AUX_NACK replied
4 = AUX_DEFER replied
5 = Invalid reply
Parameters address—DPCD start address
size—Number of bytes (1 - 16)
data—Pointer for data to be read
Description: This function reads 1 to 16 data bytes from the connected DisplayPort sink’s DPCD.
Example: btc_dptx_aux_read(0×202, 2, &status);
Related Information
btc_dptx_aux_write on page 8-14
btc_dptx_aux_write
Prototype:
int btc_dptx_aux_write(
unsigned int address,
BYTE size,
BYTE *data)
Thread-safe: No
Available from ISR: Yes
Include: < btc_dptx_syslib.h >
Return: 0 = AUX_ACK replied
1 = Source internal error
2 = Reply timeout
3 = AUX_NACK replied
4 = AUX_DEFER replied
5 = Invalid reply
Parameters address—DPCD start address
size—Number of bytes (1 - 16)
data—Pointer to data to be written
Description: This function writes 1 to 16 data bytes to the connected DisplayPort sink’s DPCD.
Example: btc_dptx_aux_write(0×600, 1, data_ptr);
8-14
btc_dptx_aux_write
UG-01131
2015.05.04
Altera Corporation
DisplayPort API Reference
Send Feedback
Page view 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 194 195

Comments to this Manuals

No comments