EasyManuals Logo

Renesas RX Series User Manual

Renesas RX Series
1823 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #264 background imageLoading...
Page #264 background image
R01UH0823EJ0100 Rev.1.00 Page 264 of 1823
Jul 31, 2019
RX23W Group 14. Exception Handling
14.4 Hardware Processing for Accepting and Returning from Exceptions
This section describes the hardware processing for accepting and returning from exceptions other than a reset.
(1) Hardware Pre-Processing for Accepting an Exception
(a) Saving PSW
For a fast interrupt
PSW → BPSW
For exceptions other than a fast interrupt
PSW → Stack
Note: The values in FPSW are not saved by hardware pre-processing. Therefore, if floating-point instructions are to be
used within an exception handling routine, the user must save these values on the stack within the exception
handling routine.
(b) Updating PM, U, and I Bits in PSW
I: Set to 0
U: Set to 0
PM: Set to 0
(c) Saving PC
For a fast interrupt
PC → BPC
For exceptions other than a fast interrupt
PC → Stack
(d) Setting Branch Destination Address of Exception Handling Routine in PC
Processing is shifted to the exception handling routine by acquiring the vector corresponding to the exception and then
branching accordingly.
(2) Hardware Post-Processing for Execution of RTE and RTFI Instructions
(a) Restoring PSW
For a fast interrupt
BPSW → PSW
For exceptions other than a fast interrupt
Stack → PSW
(b) Restoring PC
For a fast interrupt
BPC → PC
For exceptions other than a fast interrupt
Stack → PC
(c) Clearing the LI flag

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RX Series and is the answer not in the manual?

Renesas RX Series Specifications

General IconGeneral
CoreRXv1, RXv2, RXv3
Flash MemoryUp to 8 MB
RAMUp to 1 MB
Operating Voltage1.62V to 5.5V
Operating Temperature-40°C to +85°C or +105°C
PackageBGA, LQFP
ADC Resolution12-bit
DAC Resolution12-bit
Communication InterfacesSCI, SPI, I2C, USB, Ethernet, CAN
Architecture32-bit
Security FeaturesMemory Protection Unit (MPU)

Related product manuals