Ver 1.3
PRELIMINARY
EAGLE
3.5.1 External Interrupt Source Select & Interrupt Mode Register (INTMOD)
Eagle supports 8 external interrupts. INTMOD register must be configured to enable external interrupts. The Active state
and Trigger mode in INTMOD register supports up to five types of interrupt latch configurations. Figure 3-6 shows the
register setting for the five interrupt latch configurations.
Register Setting
Interrupt Latch
Level Trigger
&
Active Low
Level Trigger
&
Active High
Edge Trigger
&
Active Low
Edge Trigger
&
Active High
Both Edge
Trigger
Figure 3-6 Interrupt Trigger Mode Description
INTMOD[31] bit controls the interrupt priority program. Refer to INPPRn Register for detailed descriptions.
Address : FFE0 0C00h
Bit
R/W
Description
Default Value
31
R/W
Interrupt Priority Program bit
0h
0 : Interrupt Priority Program disable
1 : Interrupt Priority Program enable
Reserved
External IRQ7 ~ IRQ0 Trigger Mode
0 : Level Trigger
30 : 24
23 : 16
R
R/W
-
FFh
1 : Edge Trigger
15 : 14
13 : 12
11 : 10
9 : 8
7 : 6
5 : 4
R/W
External IRQ7 ~ IRQ0 Active Mode
00 : Active Low
01 : Active High
01b
01b
01b
01b
01b
01b
01b
01b
1x : Active Both
3 : 2
1 : 0
71
CONFIDENTIAL
Beijing Peak Microtech Co.Ltd.