Altera DisplayPort MegaCore Function Uživatelský manuál Strana 113

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 195
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 112
btc_dptx_syslib API Reference
This section provides information about the DisplayPort source system library functions
(btc_dptx_syslib), including:
C prototype
Function description
Whether the function is thread-safe when running in a multi- threaded environment
Whether the function can be invoked from an ISR
Example
btc_dptx_aux_i2c_read
Prototype:
int btc_dptx_aux_i2c_read(
BYTE address,
BYTE size,
BYTE *data,
BYTE mot)
Thread-safe: No
Available from ISR: Yes
Include: < btc_dptx_syslib.h >
Return: 0 = success, 1 = fail
Parameters: address—I
2
C address
size—Number of bytes (1 - 16)
data—Pointer to data to be read
mot—Middle of transaction (0 or 1)
Description: This function reads 1 to 16 data bytes from the connected DisplayPort sink’s I
2
C
interface mapped over the AUX channel.
Example: btc_dptx_aux_i2c_read(0×50, 16, data, 1);
Related Information
btc_dptx_aux_i2c_write on page 8-13
8-12
btc_dptx_syslib API Reference
UG-01131
2015.05.04
Altera Corporation
DisplayPort API Reference
Send Feedback
Zobrazit stránku 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 194 195

Komentáře k této Příručce

Žádné komentáře