PEP_ACPI_RESOURCE union (pepfx.h)

The PEP_ACPI_RESOURCE structure contains hardware details for a specific ACPI resource.

Syntax

typedef union _PEP_ACPI_RESOURCE {
  PEP_ACPI_RESOURCE_TYPE      Type;
  PEP_ACPI_IO_MEMORY_RESOURCE IoMemory;
  PEP_ACPI_INTERRUPT_RESOURCE Interrupt;
  PEP_ACPI_GPIO_RESOURCE      Gpio;
  PEP_ACPI_SPB_I2C_RESOURCE   SpbI2c;
  PEP_ACPI_SPB_SPI_RESOURCE   SpbSpi;
  PEP_ACPI_SPB_UART_RESOURCE  SpbUart;
  PEP_ACPI_EXTENDED_ADDRESS   ExtendedAddress;
} PEP_ACPI_RESOURCE, *PPEP_ACPI_RESOURCE;

Members

Type

The PEP_ACPI_RESOURCE_TYPE enumeration value that is applicable to this resource.

IoMemory

If Type is PepAcpiMemory or PepAcpiIoPort, this union contains a PEP_ACPI_IO_MEMORY_RESOURCE structure describing an ACPI IO or memory resource.

Interrupt

If Type is PepAcpiInterrupt, this union contains a PEP_ACPI_INTERRUPT_RESOURCE structure describing an ACPI interrupt resource.

Gpio

If Type is PepAcpiGpioIo or PepAcpiGpioInt, this union contains a PEP_ACPI_GPIO_RESOURCE structure describing an ACPI GPIO resource.

SpbI2c

If Type is PepAcpiSpbI2c, this union contains a PEP_ACPI_SPB_I2C_RESOURCE structure describing an ACPI I2C serial bus resource.

SpbSpi

If Type is PepAcpiSpbSpi, this union contains a PEP_ACPI_SPB_SPI_RESOURCE structure describing an ACPI SPI serial bus resource.

SpbUart

If Type is PepAcpiSpbUart, this union contains a PEP_ACPI_SPB_UART_RESOURCE structure describing an ACPI SPB serial bus resource.

ExtendedAddress

If Type is PepAcpiExtendedMemory or PepAcpiExtendedIo, this union contains a PEP_ACPI_EXTENDED_ADDRESS structure describing an ACPI extended memory or extended IO resource.

Requirements

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

See also

PEP_ACPI_EXTENDED_ADDRESS

PEP_ACPI_GPIO_RESOURCE

PEP_ACPI_INTERRUPT_RESOURCE

PEP_ACPI_IO_MEMORY_RESOURCE

PEP_ACPI_RESOURCE_TYPE

PEP_ACPI_SPB_I2C_RESOURCE

PEP_ACPI_SPB_SPI_RESOURCE

PEP_ACPI_SPB_UART_RESOURCE