Kontron KEAPI Bedienungsanleitung Seite 15

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 37
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 14
Software specification for Kontron EAPI
15
Parameters:
in/out
Parameter name
Description
in
boardHandle
Handle of the selected board
out
pDiskPartitionCount
Number of partitions
2.6.4 KEApiGetDiskDrivePartitionList
KEAPI_CALLTYPE KEAPI_UINT32 KEApiGetDiskDrivePartitionList (
KEAPI_UINT32 boardHandle,
PDISK_PARTITION pDiskPartitionData,
KEAPI_UINT32 diskPartitionCount
);
Description:
Provides list of disk partitions.
Parameters:
in/out
Parameter name
Description
in
boardHandle
Handle of the selected board
in
diskPartitionCount
Number of partitions (size of elements in the
pDiskPartitionData array)
out
pDiskPartitionData
Array of DISK_PARTITION structures
Structure used:
typedef struct Disk_Partition
{
KEAPI_CHAR name[MAX_STR]; // Partition name
KEAPI_CHAR fsType[MAX_STR]; // Filesystem type
KEAPI_UINT32 partitionSize; // Size in MB
KEAPI_UINT32 freeSpace; // Free space in MB
} DISK_PARTITION, *PDISK_PARTITION;
2.7 Battery
2.7.1 KEApiGetBatteryCount
KEAPI_CALLTYPE KEAPI_UINT32 KEApiGetBatteryCount (
KEAPI_UINT32 boardHandle,
KEAPI_PINT32 pBatteryCount
);
Description:
Provides number of connected batteries.
Parameters:
in/out
Parameter name
Description
in
boardHandle
Handle of the selected board
out
pBatteryCount
Number of connected batteries
2.7.2 KEApiGetBatteryInfo
KEAPI_CALLTYPE KEAPI_UINT32 KEApiGetBatteryInfo (
KEAPI_UINT32 boardHandle,
KEAPI_INT8 batteryNr,
PBATTERY_INFO pBatteryInfo
);
Seitenansicht 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 36 37

Kommentare zu diesen Handbüchern

Keine Kommentare