PEP_ACPI_INITIALIZE_SPB_I2C_RESOURCE function (pep_x.h)

The PEP_ACPI_INITIALIZE_SPB_I2C_RESOURCE function initializes a platform extension plug-in's (PEP) PEP_ACPI_SPB_I2C_RESOURCE structure.

Syntax

void PEP_ACPI_INITIALIZE_SPB_I2C_RESOURCE(
  [in]  USHORT             SlaveAddress,
  [in]  BOOLEAN            DeviceInitiated,
  [in]  ULONG              ConnectionSpeed,
  [in]  BOOLEAN            AddressingMode,
  [in]  PUNICODE_STRING    ResourceSource,
  [in]  UCHAR              ResourceSourceIndex,
  [in]  BOOLEAN            ResourceUsage,
  [in]  BOOLEAN            SharedMode,
  [in]  PCHAR              VendorData,
  [in]  USHORT             VendorDataLength,
  [out] PPEP_ACPI_RESOURCE Resource
);

Parameters

[in] SlaveAddress

The I2C bus address for this connection.

[in] DeviceInitiated

If true, indicates that communication over this connection is initiated by the device.

[in] ConnectionSpeed

The maximum speed, in hertz, supported by this connection.

[in] AddressingMode

Indicates that this device is in addressing mode.

[in] ResourceSource

The name of the serial bus controller device to which this connection descriptor applies. The name can be a fully qualified path, a relative path, or a simple name segment that utilizes the namespace search rules.

[in] ResourceSourceIndex

This parameter should always be set to zero.

[in] ResourceUsage

Indicates if the resource is in use.

[in] SharedMode

Indicates if the resource is shared.

[in] VendorData

A pointer to optional data that is specific to the serial bus connection type.

[in] VendorDataLength

The length of the buffer pointed to by the VendorData parameter.

[out] Resource

A pointer to the resource. The structure behind the pointer is of type PEP_ACPI_SPB_I2C_RESOURCE.

Return value

None

Requirements

Requirement Value
Minimum supported client Supported starting with Windows 10.
Target Platform Windows
Header pep_x.h (include Pep_x.h)

See also

PEP_ACPI_SPB_I2C_RESOURCE