
Software specification for Kontron EAPI
15
Parameters:
Handle of the selected board
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:
Handle of the selected board
Number of partitions (size of elements in the
pDiskPartitionData array)
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:
Handle of the selected board
Number of connected batteries
2.7.2 KEApiGetBatteryInfo
KEAPI_CALLTYPE KEAPI_UINT32 KEApiGetBatteryInfo (
KEAPI_UINT32 boardHandle,
KEAPI_INT8 batteryNr,
PBATTERY_INFO pBatteryInfo
);
Comentarios a estos manuales