27.10.2015 Views

Advanced Configuration and Power Interface Specification

ACPI_6.0

ACPI_6.0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Advanced</strong> <strong>Configuration</strong> <strong>and</strong> <strong>Power</strong> <strong>Interface</strong> <strong>Specification</strong><br />

PinConfig can be one of PullDefault, PullUp, PullDown, PullNone or a vendor-supplied value in<br />

the range 128-255. The bit field name _PPI is automatically created to refer to this portion of the<br />

resource descriptor.<br />

DebounceTimeout is an optional argument specifying the debounce wait time, in hundredths of<br />

milliseconds. The bit field name _DBT is automatically created to refer to this portion of the<br />

resource descriptor.<br />

ResourceSource is a string which uniquely identifies the GPIO controller referred to by this<br />

descriptor. ResourceSource can be a fully-qualified name, a relative name or a name segment that<br />

utilizes the namespace search rules.<br />

ResourceSourceIndex is an optional argument <strong>and</strong> is assumed to be 0 for this revision.<br />

ResourceUsage is an optional argument <strong>and</strong> is assumed to be ResourceConsumer for this revision.<br />

DescriptorName is an optional argument that specifies a name for an integer constant that will be<br />

created in the current scope that contains the offset of this resource descriptor within the current<br />

resource template buffer. The predefined descriptor field names may be appended to this name to<br />

access individual fields within the descriptor via the Buffer Field operators.<br />

VendorData is an optional argument that specifies a RawDataBuffer containing vendor-defined byte<br />

data to be decoded by the OS driver. The bit field name _VEN is automatically created to refer to<br />

this portion of the resource descriptor.<br />

PinList is a list of (zero-based) pin numbers on the ResourceSource that are described by this<br />

descriptor. For interrupt pin descriptors, only one pin is allowed. The bit field name _PIN is<br />

automatically created to refer to this portion of the resource descriptor.<br />

Description<br />

The GpioInt macro evaluates to a buffer that contains a GPIO Interrupt Connection resource<br />

descriptor. The format of the GPIO Interrupt Connection resource descriptor can be found in "GPIO<br />

Connection Descriptor" (Section 6.4.3.8.1). The macro is designed to be used inside of a Resource<br />

Template (Section 19.3.3).<br />

19.6.55 GpioIo (GPIO Connection IO Resource Descriptor Macro)<br />

GpioIo (Shared, PinConfig, DebounceTimeout, DriveStrength, IORestriction, ResourceSource,<br />

ResourceSourceIndex, ResourceUsage, DescriptorName, VendorData) {PinList}<br />

Arguments<br />

Shared is an optional argument <strong>and</strong> can be either Shared or Exclusive. If not specified, Exclusive is<br />

assumed. The bit field name _SHR is automatically created to refer to this portion of the resource<br />

descriptor.<br />

PinConfig can be one of PullDefault, PullUp, PullDown, PullNone or a vendor-supplied value in<br />

the range 128-255. The bit field name _PPI is automatically created to refer to this portion of the<br />

resource descriptor.<br />

DebounceTimeout is an optional argument specifying the hardware debounce wait time, in<br />

hundredths of milliseconds. The bit field name _DBT is automatically created to refer to this portion<br />

of the resource descriptor.<br />

844 April, 2015 Version 6.0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!