User’s Manual U13850EJ4V0UM
11
4.2.2
Control register ......................................................................................................................107
4.3 Bus Access ......................................................................................................................... 107
4.3.1
Number of access clocks.......................................................................................................107
4.3.2
Bus width ...............................................................................................................................108
4.4 Memory Block Function..................................................................................................... 109
4.5 Wait Function...................................................................................................................... 110
4.5.1
Programmable wait function ..................................................................................................110
4.5.2
External wait function.............................................................................................................111
4.5.3
Relationship between programmable wait and external wait.................................................111
4.6 Idle State Insertion Function ............................................................................................. 112
4.7 Bus Hold Function ............................................................................................................. 113
4.7.1
Outline of function..................................................................................................................113
4.7.2
Bus hold procedure................................................................................................................114
4.7.3
Operation in power save mode..............................................................................................114
4.8 Bus Timing.......................................................................................................................... 115
4.9 Bus Priority ......................................................................................................................... 122
4.10 Memory Boundary Operation Condition .......................................................................... 123
4.10.1 Program space ......................................................................................................................123
4.10.2 Data space.............................................................................................................................123
CHAPTER 5 INTERRUPT/EXCEPTION PROCESSING FUNCTION .......................................... 124
5.1 Outline ................................................................................................................................. 124
5.1.1
Features.................................................................................................................................124
5.2 Non-Maskable Interrupt ..................................................................................................... 127
5.2.1
Operation ...............................................................................................................................128
5.2.2
Restore ..................................................................................................................................130
5.2.3
NP flag ...................................................................................................................................131
5.2.4
Noise eliminator of NMI pin....................................................................................................131
5.2.5
Edge detection function of NMI pin........................................................................................132
5.3 Maskable Interrupts ........................................................................................................... 133
5.3.1
Operation ...............................................................................................................................133
5.3.2
Restore ..................................................................................................................................135
5.3.3
Priorities of maskable interrupts ............................................................................................136
5.3.4
Interrupt control register (xxICn) ............................................................................................139
5.3.5
In-service priority register (ISPR)...........................................................................................142
5.3.6
Maskable interrupt status flag................................................................................................142
5.3.7
Watchdog timer mode register (WDTM)................................................................................143
5.3.8
Noise elimination ...................................................................................................................143
5.3.9
Edge detection function .........................................................................................................145
5.4 Software Exception ............................................................................................................ 146
5.4.1
Operation ...............................................................................................................................146
5.4.2
Restore ..................................................................................................................................147
5.4.3
EP flag ...................................................................................................................................148
5.5 Exception Trap ................................................................................................................... 148
5.5.1
Illegal op code definition ........................................................................................................148
5.5.2
Operation ...............................................................................................................................148
5.5.3
Restore ..................................................................................................................................150