ADM-XRC SDK 2.8.1 User Guide (Linux)
© Copyright 2001-2009 Alpha Data
Prototype
ADMXRC2_STATUS ADMXRC2_GetSpaceInfo( ADMXRC2_HANDLE Card, unsigned int Index, ADMXRC2_SPACE_INFO* Info);
Arguments
Argument | Type | Purpose |
Card | In | Handle of card about which to return space information |
Index | In | Specifies the local bus space about which to return information |
Info | Out | Structure to be filled in with information about the specified local bus space |
Return value
Value | Meaning |
ADMXRC2_SUCCESS | The information was obtained successfully |
ADMXRC2_INVALID_HANDLE | Card is not a valid handle to a card |
ADMXRC2_INVALID_PARAMETER | Index was not valid |
Description
This function returns information about a region of local bus space in an ADMXRC2_SPACE_INFO stucture.
The Index parameter specifies the region of local bus space about which to return information. An Index of 0 always refers to the FPGA space (the region of local bus space for the FPGA).
The Info parameter must point to the ADMXRC2_SPACE_INFO stucture which is to receive the information.