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 3: LPC2300 System control<br />

Table 14. External Interrupt Mode register (EXTMODE - address 0xE01F C148) bit<br />

description<br />

Bit Symbol Value Description Reset<br />

value<br />

0 EXTMODE0 0 Level-sensitivity is selected for EINT0. 0<br />

1 EINT0 is edge sensitive.<br />

1 EXTMODE1 0 Level-sensitivity is selected for EINT1. 0<br />

1 EINT1 is edge sensitive.<br />

2 EXTMODE2 0 Level-sensitivity is selected for EINT2. 0<br />

1 EINT2 is edge sensitive.<br />

3 EXTMODE3 0 Level-sensitivity is selected for EINT3. 0<br />

1 EINT3 is edge sensitive.<br />

7:4 - - Reserved, user software should not write ones to reserved<br />

bits. The value read from a reserved bit is not defined.<br />

NA<br />

6.4 External Interrupt Polarity register (EXTPOLAR - 0xE01F C14C)<br />

In level-sensitive mode, the bits in this register select whether the corresponding pin is<br />

high- or low-active. In edge-sensitive mode, they select whether the pin is rising- or<br />

falling-edge sensitive. Only pins that are selected for the EINT function (see "Pin Connect<br />

Block" chapter on page 105) and enabled in the VICIntEnable register (Section 7–4.4<br />

“Interrupt Enable Register (VICIntEnable - 0xFFFF F010)”) can cause interrupts from the<br />

External Interrupt function (though of course pins selected for other functions may cause<br />

interrupts from those functions).<br />

Note: Software should only change a bit in this register when its interrupt is<br />

disabled in VICIntEnable, and should write the corresponding 1 to EXTINT before<br />

enabling (initializing) or re-enabling the interrupt. An extraneous interrupt(s) could<br />

be set by changing the polarity and not having the EXTINT cleared.<br />

Table 15. External Interrupt Polarity register (EXTPOLAR - address 0xE01F C14C) bit<br />

description<br />

Bit Symbol Value Description Reset<br />

value<br />

0 EXTPOLAR0 0 EINT0 is low-active or falling-edge sensitive (depending on 0<br />

EXTMODE0).<br />

1 EINT0 is high-active or rising-edge sensitive (depending on<br />

EXTMODE0).<br />

1 EXTPOLAR1 0 EINT1 is low-active or falling-edge sensitive (depending on 0<br />

EXTMODE1).<br />

1 EINT1 is high-active or rising-edge sensitive (depending on<br />

EXTMODE1).<br />

2 EXTPOLAR2 0 EINT2 is low-active or falling-edge sensitive (depending on 0<br />

EXTMODE2).<br />

1 EINT2 is high-active or rising-edge sensitive (depending on<br />

EXTMODE2).<br />

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

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

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

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

Saved successfully!

Ooh no, something went wrong!