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

Description<br />

The implementation of Sleep is to round the request up to the closest sleep time supported by the OS<br />

<strong>and</strong> relinquish the processor.<br />

19.6.120 SPISerialBusV2 (SPI Serial Bus Connection Resource<br />

Descriptor (Version 2) Macro)<br />

Syntax<br />

SPISerialBusV2 (DeviceSelection, DeviceSelectionPolarity, WireMode, DataBitLength,<br />

SlaveMode, ConnectionSpeed, ClockPolarity, ClockPhase, ResourceSource, ResourceSourceIndex,<br />

ResourceUsage, DescriptorName, Shared, VendorData)<br />

Arguments<br />

DeviceSelection is the device selection value. This value may refer to a chip-select line, GPIO line or<br />

other line selection mechanism. _ADR is automatically created to refer to this portion of the<br />

resource descriptor.<br />

DeviceSelectionPolarity is an optional argument <strong>and</strong> can be either PolarityHigh or PolarityLow to<br />

indicate that the device is active. PolarityLow is the default. The bit field _DPL is automatically<br />

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

WireMode is an optional argument <strong>and</strong> can be either ThreeWireMode or FourWireMode.<br />

FourWireMode is the default. The bit field name _MOD is automatically created to refer to this<br />

portion of the resource descriptor.<br />

DataBitLength is the size, in bits, of the smallest transfer unit for this connection. _LEN is<br />

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

SlaveMode is an optional argument <strong>and</strong> can be either ControllerInitiated or DeviceInitiated.<br />

ControllerInitiated is the default. The bit field name _SLV is automatically created to refer to this<br />

portion of the resource descriptor.<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 />

ClockPolarity can be either ClockPolarityLow or ClockPolarityHigh. _POL is automatically created<br />

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

ClockPhase can be either ClockPhaseFirst or ClockPhaseSecond. _PHA is automatically created to<br />

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

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

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

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

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

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

886 April, 2015 Version 6.0

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

Saved successfully!

Ooh no, something went wrong!