ADLINK Technology PCI-MPG24 Instrukcja Użytkownika Strona 135

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 160
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 134
Reference Manual 125
Return Value
HRESULT
4. IAccessFunc::I2C_BurstReadRegister
The I2C_BurstReadRegister method reads multiple continuous
I2C registers (burst mode).
Syntax
HRESULT I2C_BurstReadRegister(
unsigned char DevAddr,
int AddrWidth,
unsigned short StartRegAddr,
int RegNum,
unsigned char *pRegValue,
int I2CMode
);
Parameters
DevAddr: [In] Device address.
AddrWidth: [In] Length of register address, in bits. Typical val-
ues can either be 8 or 16.
StartRegAddr: [In] Address of the first register. If its higher
byte is 0, the register is considered to have an 8-bit address;
otherwise the address length is 16 bits.
RegNum: [In] Number of registers to be read.
pRegValue: [Out] Pointer to an array which will receive the val-
ues read from I
2
C registers.
Przeglądanie stron 134
1 2 ... 130 131 132 133 134 135 136 137 138 139 140 ... 159 160

Komentarze do niniejszej Instrukcji

Brak uwag