
Software specification for Kontron EAPI
26
Parameters:
Handle of the selected board
Number of installed PCI devices
Returned array of PCI_DEVICE structures
Structure used:
typedef struct Pci_Device
{
KEAPI_INT32 domain; // Domain number
KEAPI_INT32 bus; // Bus number
KEAPI_INT32 slot; // Slot number
KEAPI_INT32 funct; // Function number
KEAPI_INT32 deviceId; // Device ID
KEAPI_INT32 vendorId; // Vendor ID
KEAPI_INT32 classId; // Class ID
KEAPI_CHAR deviceName[MAX_STR]; // Name of the device
KEAPI_CHAR vendorName[MAX_STR]; // Name of the vendor
KEAPI_CHAR className[MAX_STR]; // Name of the class
} PCI_DEVICE, *PPCI_DEVICE;
2.13 Storage area
2.13.1 KEApiGetStorageCount
KEAPI_CALLTYPE KEAPI_UINT32 KEApiGetStorageCount (
KEAPI_UINT32 boardHandle,
KEAPI_PINT32 pStorageCount
);
Description:
Provides number of EEPROM storage areas.
Parameters:
Handle of the selected board
Number of available storage areas
2.13.2 KEApiGetStorageSize
KEAPI_CALLTYPE KEAPI_UINT32 KEApiGetStorageSize (
KEAPI_UINT32 boardHandle,
KEAPI_INT32 storageNr,
KEAPI_PINT32 pStorageSize
);
Description:
Provides information about EEPROM storage area’s size.
Parameters:
Handle of the selected board
Number of the storage area. Number of storage areas can be
obtained from the KEApiGetStorageCount function
Pointer to variable that receives size of the selected storage
area.
Comentarios a estos manuales