![](http://datasheet.mmic.net.cn/330000/MB90F562_datasheet_16437954/MB90F562_148.png)
124
CHAPTER 6 INTERRUPTS
MB90560 series
6.3
Interrupt Control Registers and Peripheral Functions
Interrupt control registers (ICR00 to ICR15) are located inside the interrupt controller.
The interrupt control registers correspond to all peripheral functions that have the
interrupt function. These registers control interrupts and the extended intelligent I/O
service (EI
2
OS).
I
Interrupt control registers
Table 6.3-1 lists the interrupt control registers and corresponding peripheral functions.
Table 6.3-1 Interrupt control registers
I
Interrupt control register functions
All interrupt control registers (ICR) do the following:
Set the interrupt level of the corresponding peripheral function.
Select ordinary interrupts or the extended intelligent I/O service as interrupts of the
corresponding peripheral function.
Select an extended intelligent I/O service (EI
2
OS) channel
Display the status of the extended intelligent I/O service (EI
2
OS)
Some of the functions of the interrupt control registers (ICR) differ during writing and reading, as
shown in Figures 6.3-1 and 6.3-2.
<Check>
Do not use a read-modify-write instruction to access the interrupt control registers (ICR),
since operation will not be correct.
Address
Register
Abbreviation
Corresponding peripheral function
0000B0
H
0000B1
H
0000B2
H
0000B3
H
0000B4
H
0000B5
H
0000B6
H
0000B7
H
0000B8
H
Interrupt control register 00
Interrupt control register 01
Interrupt control register 02
Interrupt control register 03
Interrupt control register 04
Interrupt control register 05
Interrupt control register 06
Interrupt control register 07
Interrupt control register 08
ICR00
ICR01
ICR02
ICR03
ICR04
ICR05
ICR06
ICR07
ICR08
A/D converter
Output compare 0, 8/16-bit PPG timer 0
Output compare 1, 8/16-bit PPG timer 1
Output compare 2, 8/16-bit PPG timer 2
Output compare 3, 8/16-bit PPG timer 3
Output compare 4, 8/16-bit PPG timer 4
Output compare 5, 8/16-bit PPG timer 5
DTP/external interrupts 0, 1, 2, 3
DTP/external interrupts 4, 5, 6, 7
8-bit timers 0, 1, 2,
16-bit reload timer 0
16-bit free-run timer overflow,
16-bit reload timer 1
Input capture 0, 1,
16-bit free-run timer clear
Input capture 2, 3,
timebase timer
UART1
UART0
Flash memory,
delayed interrupt generator module
0000B9
H
Interrupt control register 09
ICR09
0000BA
H
Interrupt control register 10
ICR10
0000BB
H
Interrupt control register 11
ICR11
0000BC
H
Interrupt control register 12
ICR12
0000BD
H
0000BE
H
0000BF
H
Interrupt control register 13
Interrupt control register 14
Interrupt control register 15
ICR13
ICR14
ICR15