iii
5.2.3
IRQ Status Register (ISR) ..................................................................................... 87
5.2.4
IRQ Enable Register (IER) ................................................................................... 88
5.2.5
IRQ Sense Control Register (ISCR)...................................................................... 89
5.3
Interrupt Sources ................................................................................................................ 90
5.3.1
External Interrupts................................................................................................. 90
5.3.2
Internal Interrupts.................................................................................................. 91
5.3.3
Interrupt Vector Table ........................................................................................... 91
5.4
Interrupt Operation ............................................................................................................. 94
5.4.1
Interrupt Handling Process.................................................................................... 94
5.4.2
Interrupt Sequence ................................................................................................ 99
5.4.3
Interrupt Response Time ....................................................................................... 100
5.5
Usage Notes........................................................................................................................ 101
5.5.1
Contention between Interrupt and Interrupt-Disabling Instruction....................... 101
5.5.2
Instructions that Inhibit Interrupts......................................................................... 102
5.5.3
Interrupts during EEPMOV Instruction Execution ............................................... 102
5.5.4
Usage Notes .......................................................................................................... 102
Section 6
Bus Controller
.................................................................................................. 105
6.1
Overview ............................................................................................................................ 105
6.1.1
Features ................................................................................................................. 105
6.1.2
Block Diagram ...................................................................................................... 106
6.1.3
Pin Configuration .................................................................................................. 107
6.1.4
Register Configuration .......................................................................................... 107
6.2
Register Descriptions.......................................................................................................... 108
6.2.1
Access State Control Register (ASTCR) .............................................................. 108
6.2.2
Wait Control Register (WCR)............................................................................... 109
6.2.3
Wait State Controller Enable Register (WCER) ................................................... 110
6.2.4
Address Control Register (ADRCR)..................................................................... 111
6.3
Operation ............................................................................................................................ 113
6.3.1
Area Division ........................................................................................................ 113
6.3.2
Bus Control Signal Timing ................................................................................... 115
6.3.3
Wait Modes ........................................................................................................... 117
6.3.4
Interconnections with Memory (Example)............................................................ 123
6.4
Usage Notes........................................................................................................................ 125
6.4.1
Register Write Timing .......................................................................................... 125
6.4.2
Precautions on setting ASTCR and ABWCR* ..................................................... 125
Section 7
I/O Ports
............................................................................................................. 127
7.1
Overview ............................................................................................................................ 127
7.2
Port 1 .................................................................................................................................. 131
7.2.1
Overview ............................................................................................................... 131
7.2.2
Register Descriptions ............................................................................................ 131
7.2.3
Pin Functions in Each Mode ................................................................................. 133