Kontron KEAPI Manuel d'utilisateur Page 31

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 37
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 30
Software specification for Kontron EAPI
31
in
command
Command code. Depends on device
in
byte
Data
2.15.6 KEApiSmbusReadByte
KEAPI_CALLTYPE KEAPI_UINT32 KEApiSmbusReadByte (
KEAPI_UINT32 boardHandle,
KEAPI_UCHAR smbusNr,
KEAPI_UCHAR smbusAddress,
KEAPI_UCHAR command,
KEAPI_PUCHAR pByte
);
Description:
This function reads data of size of byte from a device. For additional information, refer to the System
Management Bus (SMBus) Specification Version 2.0, which is available at
http://smbus.org/specs/smbus20.pdf.
Parameters:
in/out
Parameter name
Description
in
boardHandle
Handle of the selected board.
in
smbusNr
Number of SMBus. From 0 to (SmbusCount - 1) returned by
KEApiGetSmbusCount.
in
smbusAddress
Address of SMBus slave device
in
command
Command code. Depends on device
out
pByte
Pointer to the data value
2.15.7 KEApiSmbusWriteWord
KEAPI_CALLTYPE KEAPI_UINT32 KEApiSmbusWriteWord (
KEAPI_UINT32 boardHandle,
KEAPI_UCHAR smbusNr,
KEAPI_UCHAR smbusAddress,
KEAPI_UCHAR command,
KEAPI_UINT16 word
);
Description:
This function writes data of size of word to a device. For additional information, refer to the System
Management Bus (SMBus) Specification Version 2.0, which is available at
http://smbus.org/specs/smbus20.pdf.
Parameters:
in/out
Parameter name
Description
in
boardHandle
Handle of the selected board.
in
smbusNr
Number of SMBus. From 0 to (SmbusCount - 1) returned by
KEApiGetSmbusCount.
in
smbusAddress
Address of SMBus slave device
in
command
Command code. Depends on device
in
word
Data word to write
Vue de la page 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 37

Commentaires sur ces manuels

Pas de commentaire