ADLINK Technology PCI-MPG24 Manuel d'utilisateur Page 134

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 160
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 133
124 Reference Manual
3. IAccessFunc::I2C_BurstWriteRegister
The I2C_BurstWriteRegister method writes multiple continuous
I2C registers (burst mode).
Syntax
HRESULT I2C_BurstWriteRegister(
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 be either 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 written.
pRegValue: [In] Pointer to an array of values to be written to
the I
2
C registers.
I2CMode: [In] I
2
C mode. The value can be set at:
X 0x0000:Use I
2
C protocol via on chip I
2
C controller.
X 0x0001:Use SCCB protocol via on chip I
2
C controller.
X 0x8000:Use I
2
C protocol via Cypress I
2
C controller.
Vue de la page 133
1 2 ... 129 130 131 132 133 134 135 136 137 138 139 ... 159 160

Commentaires sur ces manuels

Pas de commentaire