User`s guide

xpcPCIDevice
Purpose Type definition for PCI configuration space structure
Prototype typedef struct xpcPCIDe viceStruct{
uint32_T BaseAddress[6];
uint32_T VirtAddress[6];
uint32_T Length[6];
uint16_T AddressSpaceIndicator[6];
uint16_T MemoryType[6];
uint16_T Prefetchable[6];
uint16_T InterruptLine;
uint16_T VendorId;
uint16_T DeviceId;
uint16_T SubDeviceId;
uint16_T SubVendorId;
} xpcPCIDevice;
Header
File
xpctarget.h
Members
BaseAddress
Physical base addresses that are assigned
by the PCI BIOS.
VirtAddress
Virtual address of device. As
necessary, enter the return value
from
xpcReserveMemoryRegion.See
“Description” on page 9-3 for details.
Length
Length of each region. This value contains
the number of bytes that the board segment
responds to during the configuration space
read. This value might be larger than the
space required by the registers as specified
in the hardware manufactu rer ma nu a l.
9-2