Altera DisplayPort MegaCore Function Instrukcja Użytkownika Strona 114

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 195
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 113
btc_dptx_aux_i2c_write
Prototype:
int btc_dptx_aux_i2c_write(
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 written
mot—Middle of transaction (0 or 1)
Description: This function writes 1 to 16 data bytes to the connected DisplayPort sink’s I
2
C
interface mapped over the AUX channel.
Example: btc_dptx_aux_i2c_write(0×50, 1, data, 1);
Related Information
btc_dptx_aux_i2c_read on page 8-12
btc_dptx_aux_read
Prototype:
int btc_dptx_aux_read(
unsigned int address,
BYTE size,
BYTE *data)
Thread-safe: No
Available from ISR: Yes
Include: < btc_dptx_syslib.h >
UG-01131
2015.05.04
btc_dptx_aux_i2c_write
8-13
DisplayPort API Reference
Altera Corporation
Send Feedback
Przeglądanie stron 113
1 2 ... 109 110 111 112 113 114 115 116 117 118 119 ... 194 195

Komentarze do niniejszej Instrukcji

Brak uwag