CHAPTER 4 EIT
4.1 Outline of EIT ---------------------------------------------------------------------------------------------------------------4-2
4.2 EIT Events ------------------------------------------------------------------------------------------------------------------4-3
4.2.1
4.2.2
4.2.3
Exception ---------------------------------------------------------------------------------------------------------4-3
Interrupt -----------------------------------------------------------------------------------------------------------4-5
Trap ----------------------------------------------------------------------------------------------------------------4-6
4.3 EIT Processing Procedure ----------------------------------------------------------------------------------------------4-6
4.4 EIT Processing Mechanism---------------------------------------------------------------------------------------------4-7
4.5 Acceptance of EIT Events-----------------------------------------------------------------------------------------------4-8
4.6 Saving and Restoring the PC and PSW -----------------------------------------------------------------------------4-8
4.7 EIT Vector Entry -----------------------------------------------------------------------------------------------------------4-10
4.8 Exception Processing ----------------------------------------------------------------------------------------------------4-11
4.8.1
4.8.2
4.8.3
Reserved Instruction Exception (RIE)---------------------------------------------------------------------4-11
Address Exception (AE) --------------------------------------------------------------------------------------4-12
Floating-Point Exception (FPE) -----------------------------------------------------------------------------4-13
4.9 Interrupt Processing ------------------------------------------------------------------------------------------------------4-15
4.9.1
4.9.2
4.9.3
Reset Interrupt (RI) --------------------------------------------------------------------------------------------4-15
System Break Interrupt (SBI)--------------------------------------------------------------------------------4-15
External Interrupt (EI) -----------------------------------------------------------------------------------------4-17
4.10 Trap Processing----------------------------------------------------------------------------------------------------------4-18
4.10.1 Trap ----------------------------------------------------------------------------------------------------------------4-18
4.11 EIT Priority Levels -------------------------------------------------------------------------------------------------------4-19
4.12 Example of EIT Processing -------------------------------------------------------------------------------------------4-20
4.13 Precautions on EIT ------------------------------------------------------------------------------------------------------4-22
CHAPTER 5 INTERRUPT CONTROLLER (ICU)
5.1 Outline of the Interrupt Controller--------------------------------------------------------------------------------------5-2
5.2 ICU Related Registers ---------------------------------------------------------------------------------------------------5-4
5.2.1
5.2.2
5.2.3
5.2.4
Interrupt Vector Register -------------------------------------------------------------------------------------5-5
Interrupt Request Mask Register ---------------------------------------------------------------------------5-6
SBI (System Break Interrupt) Control Register ---------------------------------------------------------5-7
Interrupt Control Registers -----------------------------------------------------------------------------------5-8
5.3 Interrupt Request Sources in Internal Peripheral I/O -------------------------------------------------------------5-11
5.4 ICU Vector Table ----------------------------------------------------------------------------------------------------------5-12
5.5 Description of Interrupt Operation -------------------------------------------------------------------------------------5-13
5.5.1
5.5.2
Acceptance of Internal Peripheral I/O Interrupts -------------------------------------------------------5-13
Processing by Internal Peripheral I/O Interrupt Handlers --------------------------------------------5-15
5.6 Description of System Break Interrupt (SBI) Operation----------------------------------------------------------5-18
5.6.1
5.6.2
Acceptance of SBI ---------------------------------------------------------------------------------------------5-18
SBI Processing by Handler ----------------------------------------------------------------------------------5-18
CHAPTER 6 INTERNAL MEMORY
6.1 Outline of the Internal Memory -----------------------------------------------------------------------------------------6-2
6.2 Internal RAM----------------------------------------------------------------------------------------------------------------6-2
6.3 Internal Flash Memory ---------------------------------------------------------------------------------------------------6-2
6.4 Registers Associated with the Internal Flash Memory -----------------------------------------------------------6-4
6.4.1
Flash Mode Register ------------------------------------------------------------------------------------------6-4
(2)