beautypg.com

Halgetbusdatabyoffset, Syntax, Remarks – Rockwell Automation 6182 SDK User Manual

Page 61: Return value, Portability

background image

RAC6182-Specific Extensions to the CE API

4–21

Publication 6182-UM002B-EN-P

HalGetBusDataByOffset

This function gets the PCI Bus Data by offset.

Syntax

#include
#include

ULONG HalGetBusDataByOffset(

BUS_DATA_TYPE BusDataType,
ULONG BusNumber,

ULONG SlotNumber,
PVOID Buffer,

ULONG Offset,
ULONG Length

)

Remarks
HalGetBusDataByOffset() retrieves PCI configuration space
information, such as addresses and interrupt information, for a PCI
device.

Parameter

Description

BusDataType

PCIConfiguration

BusNumber

The RAC6182 PCI slot is on bus 1.

SlotNumber

Buffer

Offset

Length

Return Value

Portability
The arguments to this function are specific to the RAC6182 hardware.

This manual is related to the following products: