función PEP_ACPI_INITIALIZE_GPIO_IO_RESOURCE (pep_x.h)

La función PEP_ACPI_INITIALIZE_GPIO_IO_RESOURCE inicializa una estructura de PEP_ACPI_GPIO_RESOURCE del complemento de extensión de plataforma (PEP).

Sintaxis

void PEP_ACPI_INITIALIZE_GPIO_IO_RESOURCE(
  [in]  BOOLEAN                     Shareable,
  [in]  BOOLEAN                     CanWake,
  [in]  GPIO_PIN_CONFIG_TYPE        PinConfig,
  [in]  USHORT                      DebounceTimeout,
  [in]  USHORT                      DriveStrength,
  [in]  GPIO_PIN_IORESTRICTION_TYPE IoRestriction,
  [in]  UCHAR                       ResourceSourceIndex,
  [in]  PUNICODE_STRING             ResourceSourceName,
  [in]  BOOLEAN                     ResourceUsage,
  [in]  PUCHAR                      VendorData,
  [in]  USHORT                      VendorDataLength,
  [in]  PUSHORT                     PinTable,
  [in]  USHORT                      PinCount,
  [out] PPEP_ACPI_RESOURCE          Resource
);

Parámetros

[in] Shareable

Indica si se puede compartir el dispositivo.

[in] CanWake

Indica si el dispositivo se puede reactivar desde un estado de bajo consumo.

[in] PinConfig

Valor de enumeración GPIO_PIN_CONFIG_TYPE que identifica el tipo de configuración de patillas GPIO.

[in] DebounceTimeout

Especifica el tiempo de espera de desbounce de hardware, en centésimas de milisegundos.

[in] DriveStrength

[in] IoRestriction

[in] ResourceSourceIndex

Este parámetro siempre debe ser cero.

[in] ResourceSourceName

Este parámetro siempre debe ser "ResourceConsumer".

[in] ResourceUsage

Indica si este dispositivo está en uso.

[in] VendorData

Puntero a un búfer de datos sin procesar que contiene datos de bytes definidos por el proveedor que el controlador del sistema operativo va a descodificar.

[in] VendorDataLength

Tamaño del búfer en vendorData partameter.

[in] PinTable

Lista de números de patillas en el recurso.

[in] PinCount

Número de patillas descritas por el parámetro PinTable .

[out] Resource

Puntero al recurso. La estructura detrás del puntero es de tipo PEP_ACPI_GPIO_RESOURCE.

Valor devuelto

None

Requisitos

Requisito Value
Cliente mínimo compatible Se admite a partir de Windows 10.
Plataforma de destino Windows
Encabezado pep_x.h (incluya Pep_x.h)

Consulte también

GPIO_PIN_CONFIG_TYPE

PEP_ACPI_GPIO_RESOURCE