ADM-XRC SDK 2.8.1 User Guide (Linux)
© Copyright 2001-2009 Alpha Data


ADMXRC2_GetSpaceConfig

Prototype

ADMXRC2_STATUS
ADMXRC2_GetSpaceConfig(
    ADMXRC2_HANDLE Card,
    unsigned int   SpaceIndex,
    uint32_t*      Flags);

Arguments

Argument Type Purpose
Card In Handle of card
SpaceIndex In The index of the space whose configuration is to be returned
Flags Out Flags indicating configuration

Return value

Value Meaning
ADMXRC2_SUCCESS The space configuration was successfully retrieved
ADMXRC2_INVALID_HANDLE The Card handle was not valid
ADMXRC2_NOT_SUPPORTED An invalid space was specified via SpaceIndex

Description

This function returns the current configuration of a local bus space.

The SpaceIndex parameter is a zero-based index that specifies the local bus space whose configuration is to be returned.

The Flags parameter returns the current configuration for the local bus space, and is constructed from the flags in the following table:

Flag Meaning
ADMXRC2_SPACE_WIDTH_8 8 bit local bus width
ADMXRC2_SPACE_WIDTH_16 16 bit local bus width
ADMXRC2_SPACE_WIDTH_32 32 bit local bus width
ADMXRC2_SPACE_WIDTH_64 64 bit local bus width
ADMXRC2_SPACE_PREFETCH_MINIMUM The minimum amount of prefetching on the local bus; on some models, this equates to no prefetching
ADMXRC2_SPACE_PREFETCH_NORMAL A nominal amount of prefetching on the local bus
ADMXRC2_SPACE_PREFETCH_MAXIMUM The maximum amount of prefetching on the local bus; on some models, this may equate to unlimited prefetching
ADMXRC2_SPACE_BURST_DISABLED Non-bursting local bus behaviour
ADMXRC2_SPACE_BURST_ENABLED Bursting local bus behaviour

 


 Top of page