English
Language : 

MEC1322 Datasheet, PDF (194/456 Pages) Microchip Technology – Keyboard and Embedded Controller for Notebook PC
MEC1322
FIGURE 15-2:
INTERRUPT STRUCTURE
NVIC_EN
Interrupt
from block
Interrupt
from block
Interrupt
from block
GIRQx
Int source
SOURCE0
SOURCE1
...
...
SOURCEn
Int enable
ENABLE0
ENABLE1
...
ENABLEn
result
...
...
...
Block Enable
...
Bit x
...
NVIC
Inputs for
blocks
NVIC
Input for
GIRQx
To Wake
Interface
15.8.1 WAKE GENERATION
The EC Interrupt Aggregator notifies the Chip Power Management Features to wake the system when it detects a wake
capable event has occurred. This logic requires no clocks.
The interrupt sources AND’ed with the corresponding Enable bit will be OR’ed to produce a wake event
The wake up sources are identified with a “Y” in the “WAKE” column of the Bit definitions table for each IRQ’s Source
Register.
15.8.1.1 Configuring Wake Interrupts
All GPIO inputs are wake-capable. In order for a GPIO input to wake the MEC1322 from a sleep state, the Interrupt
Detection field of the GPIO Pin Control Register must be set to Rising Edge Triggered, Falling Edge Triggered, or Either
Edge Triggered. If the Interrupt Detection field is set to any other value, a GPIO input will not trigger a wake interrupt.
Some of the Wake Capable Interrupts are triggered by activity on pins that are shared with a GPIO. These interrupts will
only trigger a wake if the Interrupt Detection field of the corresponding GPIO Pin Control Register is set to Rising Edge
Triggered, Falling Edge Triggered, or Either Edge Triggered.
APPLICATION NOTE: Neither LPC accesses nor JTAG debug accesses are wake capable. In order to enable LPC
transactions to MEC1322 Logical Devices while the MEC1322 is in a Sleep mode in which
the main oscillator is shut off, just before entering sleep EC firmware must enable an interrupt
on the falling edge of the GPIO associated with the LFRAME# input. When responding to
this LFRAME/GPIO interrupt EC firmware should disable the LFRAME/GPIO interrupt until
firmware determines that it is again appropriate to enter a Deep Sleep mode. Similarly, EC
DS00001719D-page 194
 2014 - 2015 Microchip Technology Inc.