ADM-XRC SDK 2.4.0 User Guide (Linux)
© Copyright 2001-2004 Alpha Data
Declaration
typedef enum _ADMXRC2_IOWIDTH { ADMXRC2_IOWIDTH_8 = 0, ADMXRC2_IOWIDTH_16 = 1, ADMXRC2_IOWIDTH_32 = 2, ADMXRC2_IOWIDTH_64 = 3 } ADMXRC2_IOWIDTH;
Description
The ADMXRC2_IOWIDTH enumerated type determines the width of a programmed I/O or DMA transfer in the following API functions:
When used with ADMXRC2_Read or ADMXRC2_Write, the ADMXRC2_IOWIDTH type specifies the size of each item of data read or written on the local bus, and may be 8, 16, or 32. For performance reasons, use ADMXRC2_IOWIDTH_32 wherever possible.
When used with ADMXRC2_BuildDMAModeWord, the ADMXRC2_IOWIDTH type specifies the width of the DMA transfer on the local bus. The following table shows what values are permissible for DMA transfers:
Model | 8 | 16 | 32 | 64 |
ADM-XRC | yes | yes | yes | no |
ADM-XRC-P | yes | yes | yes | no |
ADM-XRCII-Lite | yes | yes | yes | no |
ADM-XRCII-Lite | yes | yes | yes | no |
ADM-XRCII | yes | yes | yes | no |
ADM-XRCIIPro-Lite | no | no | yes | yes |
ADP-WRCII | yes | yes | yes | no |
ADP-DRCII | yes | yes | yes | no |
For performance reasons, use ADMXRC2_IOWIDTH_32 or ADMXRC2_IOWIDTH_64 wherever possible when using DMA transfers.