
MB89190/190A series
Chapter 3 CPU
3-15
3.
4 Interrupts
The MB89190/190A Series has 12 interrupt request inputs associated with re-
source functions. An interrupt level can be set independently for each of the in-
terrupt request inputs. When the interrupt request output for the resources func-
tion is enabled, the interrupt level of the interrupt request for the resources func-
tion is compared by the interrupt controller. The CPU performs the interrupt op-
eration according to the interrupt acceptance state. Also, the interrupt request
cancels the standby mode, returning control to the interrupt operation or normal
operation.
T Interrupt request from resources function
Table 3.4 shows the interrupt requests associated with resources functions.
When an interrupt is
accepted, control branches to the interrupt-processing routine using the contents of the interrupt vector
table address associated with the interrupt request as the branch destination address. For each interrupt
request, the priority of the interrupt processing can be set using the interrupt level setting registers (ILR1,
2, 3). Interrupt requests below the same level that occur during execution of the interrupt-processing
routine are handled after termination of the current interrupt-processing routine. Also, when two or more
interrupt requests with the same priority level occur at the same time, highest priority is given to IRQ0.
Table 3-4 Interrupt Request and Interrupt Vector
Address of
vector table
Interrupt request
Upper
Lower
Bit name of
interrupt level
setting register
Priority given to two or
more same-level interrupt
requests occurring at
same time
IRQ0 (external interrupt 1-0)
FFFAH
FFFBH
L01, L00
Higher
IRQ1 (external interrupt 1-1)
FFF8H
FFF9H
L11, L10
IRQ2 (external interrupt 1-2)
FFF6H
FFF7H
L21, L20
IRQ3 (8/16-bit timer/counter-1)
FFF4H
FFF5H
L31, L30
IRQ4 (8/16-bit timer/counter-2)
FFF2H
FFF3H
L41, L40
IRQ5 (8-bit serial I/O)
FFF0H
FFF1H
L51, L50
IRQ6 (A/D Converter)
FFEEH
FFEFH
L61, L60
IRQ7 (time-base timer)
FFECH
FFEDH
L71, L70
IRQ8 (Unused)
FFEAH
FFEBH
L81, L80
IRQ9 (Unused)
FFE8H
FFE9H
L91, L90
IRQA (External interrupt 2)
FFE6H
FFE7H
LA1, LA0
IRQB (Unused)
FFE4H
FFE5H
LB1, LB0
Lower