Interrupt Processing; Reset Interrupt (Ri) - Mitsubishi Electric M32R Series User Manual

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

4

4.9 Interrupt Processing

4.9.1 Reset Interrupt (RI)

[Occurrence Conditions]
Reset Interrupt (RI) is unconditionally accepted in any machine cycle by pulling the RESET input
signal low. The reset interrupt is assigned the highest priority among all EITs.
[EIT Processing]
(1) Initializing SM, IE, and C bits
The SM, IE, and C bits of the PSW register are initialized in the manner shown below.
For the reset interrupt, the values of BSM, BIE, and BC bits are indeterminate.
SM
IE
C
(2) Branching to the EIT vector entry
Control branches to the address H'0000 0000 in the user space. However, when operating
in boot mode, control goes to the beginning of the boot ROM (address H'8000 0000). For
details, refer to Section 6.5, "Programming of Internal Flash Memory."
(3) Jumping from the EIT vector entry to the user program
The M32R/E executes the instruction written at address H'0000 0000 of the EIT vector
entry by the user. In the reset vector entry, be sure to initialize the PSW and SPI registers
before jumping to the start address of the program you created.
← 0
← 0
← 0
4-15
4.9 Interrupt Processing
____________
Ver.0.10
EIT

Advertisement

Table of Contents
loading

Table of Contents