DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
109 of 571
NXP Semiconductors
UM10316
Chapter 10: LPC29xx general system control
–
Initialization of the interrupt functionality (outside the scope of this driver)
–
Installation of the event-dispatcher interrupt function
–
Initialization of the ESR driver
•
Installation of the ESR:
–
Configure the signal specifications for external interrupts
With this API the edge/level sensitivity can be programmed
–
Install the ESR handler.
This function installs the ESR handler in the ESR vector table.
–
Enable the ESR handler.
–
Enable the specified event.
9.
Wake-up
In low-power mode, selected idle clock domains are switched off. The wake-up signal
towards the CGU enables the clock of these domains. A typical application is to configure
all clock domains to switch off. Since the clock of the ARM processor is also switched off,
execution of software is suspended and resumed on wake-up.
In this case the Event Router is configured to send a wake-up signal towards the CGU
(Clock Generation Unit). Examples are events to indicate the reception of data (e.g. on the
CAN receiver) or external interrupts.
The VIC can be used (IRQ wake-up event or FIQ wake-up event of the Event Router) to
generate a wake-up event on an interrupt occurrence. This is only possible if the clock
domain of the interrupt source is excluded from low-power mode. The VIC does not need
a clock to generate these wake-up events.
Examples of use are to configure a timer to wake up the system after a defined time, or to
wake up on receiving data via the UART.
Fig 25. Interrupt (UART) causing a wake-up
Event
Router
CGU
UART
wake-up
Events