30.01.2015 Views

UM10211 - Standard ICs

UM10211 - Standard ICs

UM10211 - Standard ICs

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

NXP Semiconductors<br />

<strong>UM10211</strong><br />

Chapter 4: LPC2300 Clocking and power control<br />

The PM2, PM1, and PM0 bits in PCON allow entering reduced power modes as needed.<br />

The encoding of these bits allows backward compatibility with devices that previously only<br />

supported Idle and Power Down modes. Table 4–41 below shows the encoding for the<br />

four reduced power modes supported by the LPC2300.<br />

Table 41. Encoding of reduced power modes<br />

PM2, PM1, PM0 Description<br />

000 Normal operation<br />

001 Idle mode. Causes the processor clock to be stopped, while on-chip peripherals<br />

remain active. Any enabled interrupt from a peripheral or an external interrupt<br />

source will cause the processor to resume execution. See text for details.<br />

101 Sleep mode. This mode is similar to Power Down mode (the oscillator and all<br />

on-chip clocks are stopped), but the Flash memory is left in Standby mode. This<br />

allows a more rapid wakeup than Power Down mode because the Flash<br />

reference voltage regulator start-up time is not needed. See text for details.<br />

010 Power Down mode. Causes the oscillator and all on-chip clocks to be stopped.<br />

A wakeup condition from an external interrupt can cause the oscillator to<br />

re-start, the PD bit to be cleared, and the processor to resume execution. See<br />

text for details.<br />

110 Reserved.<br />

Others<br />

Reserved, not currently used.<br />

7.7 Interrupt Wakeup Register (INTWAKE - 0xE01F C144)<br />

Enable bits in the INTWAKE register allow the external interrupts to wake up the<br />

processor if it is in Power Down mode. The related EINTn function must be mapped to the<br />

pin in order for the wakeup process to take place. It is not necessary for the interrupt to be<br />

enabled in the Vectored Interrupt Controller for a wakeup to take place. This arrangement<br />

allows additional capabilities, such as having an external interrupt input wake up the<br />

processor from Power Down mode without causing an interrupt (simply resuming<br />

operation), or allowing an interrupt to be enabled during Power Down without waking the<br />

processor up if it is asserted (eliminating the need to disable the interrupt if the wakeup<br />

feature is not desirable in the application). Details of the wakeup operations are shown in<br />

Table 4–42.<br />

For an external interrupt pin to be a source that would wake up the microcontroller from<br />

Power-down mode, it is also necessary to clear the corresponding interrupt flag (see<br />

Section 3–6.2 “External Interrupt flag register (EXTINT - 0xE01F C140)”).<br />

Table 42. Interrupt Wakeup register (INTWAKE - address 0xE01F C144) bit description<br />

Bit Symbol Description Reset<br />

value<br />

0 EXTWAKE0 When one, assertion of EINT0 will wake up the processor from 0<br />

Power Down mode.<br />

1 EXTWAKE1 When one, assertion of EINT1 will wake up the processor from 0<br />

Power Down mode.<br />

2 EXTWAKE2 When one, assertion of EINT2 will wake up the processor from 0<br />

Power Down mode.<br />

3 EXTWAKE3 When one, assertion of EINT3 will wake up the processor from<br />

Power Down mode.<br />

0<br />

<strong>UM10211</strong>_1<br />

© NXP B.V. 2007. All rights reserved.<br />

User manual Rev. 01 — 27 March 2007 51 of 613

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

Saved successfully!

Ooh no, something went wrong!