Kontron KEAPI Bedienungsanleitung Seite 30

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 37
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 29
Software specification for Kontron EAPI
30
Description:
A simple device may accept up to 256 possible encoded commands in a form of a byte. 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
byte
Command. Depends on device
2.15.4 KEApiSmbusReceiveByte
KEAPI_CALLTYPE KEAPI_UINT32 KEApiSmbusReceiveByte (
KEAPI_UINT32 boardHandle,
KEAPI_UCHAR smbusNr,
KEAPI_UCHAR smbusAddress,
KEAPI_PUCHAR pByte
);
Description:
A simple device may have information that the host needs. It can do so with Receive byte protocol. 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
out
pByte
Device information byte. Depends on device
2.15.5 KEApiSmbusWriteByte
KEAPI_CALLTYPE KEAPI_UINT32 KEApiSmbusWriteByte (
KEAPI_UINT32 boardHandle,
KEAPI_UCHAR smbusNr,
KEAPI_UCHAR smbusAddress,
KEAPI_UCHAR command,
KEAPI_UCHAR byte
);
Description:
This function writes data of size of byte 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
Seitenansicht 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 36 37

Kommentare zu diesen Handbüchern

Keine Kommentare