beautypg.com

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

Page 62: Return value, Portability

background image

4–22

RAC6182-Specific Extensions to the CE API

Publication 6182-UM002B-EN-P

HalSetBusDataByOffset

This function sets the PCI Bus Data by offset.

Syntax

#include
#include

ULONG HalSetBusDataByOffset(

BUS_DATA_TYPE BusDataType,
ULONG BusNumber,

ULONG SlotNumber,
PVOID Buffer,

ULONG Offset,
ULONG Length

)

Remarks
HalSetBusDataByOffset() sets PCI configuration space information.
This function should be used only to set device-specific configuration
information.

Parameter

Description

BusDataType

PCIConfiguration

BusNumber

The RAC6182 PCI slot is on bus 1.

SlotNumber

The RAC6182 PCI slot number is 1.

Buffer

Offset

Length

Return Value
One of the following:

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

This manual is related to the following products: