108
5.3
Interrupt Sources
The interrupt sources include external interrupts (NMI, IRQ
0
to IRQ
5
) and 27 internal interrupts.
5.3.1
External Interrupts
There are seven external interrupts: NMI, and IRQ
0
to IRQ
5
. Of these, NMI, IRQ
0
, IRQ
1
, and
IRQ
2
can be used to exit software standby mode.
NMI: NMI is the highest-priority interrupt and is always accepted, regardless of the states of the
I and UI bits in CCR*. The NMIEG bit in SYSCR selects whether an interrupt is requested by the
rising or falling edge of the input at the NMI pin. NMI interrupt exception handling has vector
number 7.
Note: * In the versions with on-chip flash memory, NMI input is sometimes disabled. For details
see 17.6.4, NMI Input Disable Conditions.
IRQ
0
to IRQ
5
Interrupts: These interrupts are requested by input signals at pins
IRQ
0
to
IRQ
5
.
The IRQ
0
to IRQ
5
interrupts have the following features.
•
ISCR settings can select whether an interrupt is requested by the low level of the input at pins
IRQ
0
to
IRQ
5
, or by the falling edge.
•
IER settings can enable or disable the IRQ
0
to IRQ
5
interrupts. Interrupt priority levels can be
assigned by four bits in IPRA (IPRA7 to IPRA4).
•
The status of IRQ
0
to IRQ
5
interrupt requests is indicated in ISR. The ISR flags can be cleared
to 0 by software.
Figure 5.2 shows a block diagram of interrupts IRQ
0
to IRQ
5
.
input
Edge/level
sense circuit
IRQnSC
IRQnF
S
R
Q
IRQnE
IRQn interrupt
request
Clear signal
IRQn
Note: n = 5 to 0
Figure 5.2 Block Diagram of Interrupts IRQ
0
to IRQ
5
Summary of Contents for H8/3060
Page 10: ......
Page 16: ......
Page 114: ...66 ...
Page 132: ...84 ...
Page 144: ...96 ...
Page 170: ...122 ...
Page 212: ...164 ...
Page 268: ...220 ...
Page 332: ...284 ...
Page 396: ...348 ...
Page 494: ...446 ...
Page 698: ...650 ...
Page 748: ...700 H8 3064F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 8 Sample LED Circuit ...
Page 777: ...729 H8 3062F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 14 Sample LED Circuit ...
Page 810: ...762 ...
Page 994: ...946 ...