27.10.2015 Views

Advanced Configuration and Power Interface Specification

ACPI_6.0

ACPI_6.0

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

ConnectionSpeed is the maximum connection speed supported by this connection, in hertz. The bit<br />

field name _SPE is automatically created to refer to this portion of the resource descriptor.<br />

AddressingMode is an optional argument <strong>and</strong> can be either AddressingMode7Bit or<br />

AddressingMode10Bit. AddressingMode7Bit is the default. The bit field name _MOD is<br />

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

ResourceSource is a string which uniquely identifies the I2C bus 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 />

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 />

VendorData is an optional argument that specifies an object to be decoded by the OS driver. It is a<br />

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

resource descriptor.<br />

Description<br />

The I2CSerialBusV2 macro evaluates to a buffer that contains an I2C Serial Bus resource descriptor<br />

(Version 2). The macro is designed to be used inside of a ResourceTemplate (see Section 19.3.3).<br />

19.6.57 If (Conditional Execution)<br />

Syntax<br />

If (Predicate) {TermList}<br />

Arguments<br />

Predicate is evaluated as an Integer.<br />

Description<br />

If the Predicate is non-zero, the term list of the If term is executed.<br />

Example<br />

The following examples all check for bit 3 in Local0 being set, <strong>and</strong> clear it if set.<br />

846 April, 2015 Version 6.0

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

Saved successfully!

Ooh no, something went wrong!