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

automatically cleared by hardware. This is the signal to the host that the data has been read by the<br />

embedded controller <strong>and</strong> that the host is free to write more data to the embedded controller.<br />

The SCI event (SCI_EVT) flag is set when the embedded controller has detected an internal event<br />

that requires the operating system’s attention. The embedded controller sets this bit in the status<br />

register, <strong>and</strong> generates an SCI to OSPM. OSPM needs this bit to differentiate comm<strong>and</strong>-complete<br />

SCIs from notification SCIs. OSPM uses the query comm<strong>and</strong> to request the cause of the SCI_EVT<br />

<strong>and</strong> take action. For more information, see Section 12.3, “Embedded Controller Comm<strong>and</strong> Set.”)<br />

The SMI event (SMI_EVT) flag is set when the embedded controller has detected an internal event<br />

that requires the system management interrupt h<strong>and</strong>ler's attention. The embedded controller sets this<br />

bit in the status register before generating an SMI.<br />

The Burst (BURST) flag indicates that the embedded controller has received the burst enable<br />

comm<strong>and</strong> from the host, has halted normal processing, <strong>and</strong> is waiting for a series of comm<strong>and</strong>s to be<br />

sent from the host. This allows OSPM or system management h<strong>and</strong>ler to quickly read <strong>and</strong> write<br />

several bytes of data at a time without the overhead of SCIs between the comm<strong>and</strong>s.<br />

12.2.2 Embedded Controller Comm<strong>and</strong>, EC_SC (W)<br />

This is a write-only register that allows comm<strong>and</strong>s to be issued to the embedded controller. Writes to<br />

this port are latched in the input data register <strong>and</strong> the input buffer full flag is set in the status register.<br />

Writes to this location also cause the comm<strong>and</strong> bit to be set in the status register. This allows the<br />

embedded controller to differentiate the start of a comm<strong>and</strong> sequence from a data byte write<br />

operation.<br />

12.2.3 Embedded Controller Data, EC_DATA (R/W)<br />

This is a read/write register that allows additional comm<strong>and</strong> bytes to be issued to the embedded<br />

controller, <strong>and</strong> allows OSPM to read data returned by the embedded controller. Writes to this port by<br />

the host are latched in the input data register, <strong>and</strong> the input buffer full flag is set in the status register.<br />

Reads from this register return data from the output data register <strong>and</strong> clear the output buffer full flag<br />

in the status register.<br />

12.3 Embedded Controller Comm<strong>and</strong> Set<br />

The embedded controller comm<strong>and</strong> set allows OSPM to communicate with the embedded<br />

controllers. ACPI defines the comm<strong>and</strong>s <strong>and</strong> their byte encodings for use with the embedded<br />

controller that are shown in the following table.<br />

Table 12-291 Embedded Controller Comm<strong>and</strong>s<br />

Embedded Controller Comm<strong>and</strong><br />

Read Embedded Controller (RD_EC)<br />

Write Embedded Controller (WR_EC)<br />

Burst Enable Embedded Controller (BE_EC)<br />

Burst Disable Embedded Controller (BD_EC)<br />

Query Embedded Controller (QR_EC)<br />

Comm<strong>and</strong> Byte Encoding<br />

0x80<br />

0x81<br />

0x82<br />

0x83<br />

0x84<br />

640 April, 2015 Version 6.0

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

Saved successfully!

Ooh no, something went wrong!