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.

ACPI Source Language (ASL)Reference<br />

IndexField (IDX0, DAT0, ByteAcc, NoLock, Preserve) {<br />

FET0, 1,<br />

FET1, 1,<br />

Offset (0x2f), // skip to byte offset 2f<br />

, 7, // skip another 7 bits<br />

FET3, 1,<br />

FET4, 1<br />

}<br />

// Clear FET3 (index 2F, bit 7)<br />

Store (Zero, FET3)<br />

} // End EX1<br />

19.6.62 Interrupt (Interrupt Resource Descriptor Macro)<br />

Syntax<br />

Interrupt (ResourceUsage, EdgeLevel, ActiveLevel, Shared, ResourceSourceIndex,<br />

ResourceSource, DescriptorName) {InterruptList} => Buffer<br />

Arguments<br />

ResourceUsage describes whether the device consumes the specified interrupt<br />

(ResourceConsumer) or produces it for use by a child device (ResourceProducer). If nothing is<br />

specified, then ResourceConsumer is assumed.<br />

EdgeLevel describes whether the interrupt is edge triggered (Edge) or level triggered (Level). The<br />

field DescriptorName. _HE is automatically created to refer to this portion of the resource<br />

descriptor, where ‘1’ is Edge <strong>and</strong> ‘0’ is Level.<br />

ActiveLevel describes whether the interrupt is active-high (ActiveHigh) or active-low (ActiveLow).<br />

The field DescriptorName. _LL is automatically created to refer to this portion of the resource<br />

descriptor, where ‘1’ is ActiveHigh <strong>and</strong> ‘0’ is ActiveLow.<br />

Shared describes whether the interrupt can be shared with other devices (Shared) or not<br />

(Exclusive), <strong>and</strong> whether it is capable of waking the system from a low-power idle or system sleep<br />

state (SharedAndWake or ExclusiveAndWake). The field DescriptorName. _SHR is<br />

automatically created to refer to this portion of the resource descriptor, where ‘1’ is Shared <strong>and</strong> ‘0’ is<br />

Exclusive. If nothing is specified, then Exclusive is assumed.<br />

ResourceSourceIndex evaluates to an integer between 0x00 <strong>and</strong> 0xFF <strong>and</strong> describes the resource<br />

source index. If it is not specified, then it is not generated. If this argument is specified, the<br />

ResourceSource argument must also be specified.<br />

ResourceSource evaluates to a string which uniquely identifies the resource source. If it is not<br />

specified, it is not generated. If this argument is specified, but the ResourceSourceIndex argument is<br />

not specified, a zero value is assumed.<br />

DescriptorName evaluates to a name string which refers to the entire resource descriptor.<br />

InterruptList is a comma-delimited list on integers, at least one value is required. Each integer<br />

represents a 32-bit interrupt number. At least one interrupt must be defined, <strong>and</strong> there may be no<br />

duplicates in the list. The field “DescriptorName. _INT” is automatically created to refer to this<br />

portion of the resource descriptor.<br />

Version 6.0 851

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

Saved successfully!

Ooh no, something went wrong!