Flow Of Interrupt Operations - Renesas RZ/A Series User Manual

Hide thumbs Also See for RZ/A Series:
Table of Contents

Advertisement

RZ/A1L Group, RZ/A1LU Group, RZ/A1LC Group
7.6.2

Flow of Interrupt Operations

For details on operation involved in interrupt generation, see the ArmGeneric Interrupt Controller Architecture
Specification and the PrimeCell
Figure 7.3 shows the flow of interrupt operations.
START
Interrupt initial setting
Interrupt enabled
Normal processing
routine
Interrupt source
generated
END
Interrupt processing
completed
Note 1. Read ICCHPIR. Then, read ICCIAR. If reading is not in this order, ICCIAR may be read before it completely reflects processing through
the CPU interface. Consequently, wrong interrupt IDs may be read.
Note 2. When the interrupt is one for which clearing of the flag for the interrupt request before interrupt processing is not possible, the flag
should be cleared after interrupt processing.
Figure 7.3
Flow of Interrupt Operations
R01UH0437EJ0600 Rev.6.00
Jan 29, 2021
®
Generic Interrupt Controller (PL390) Technical Reference Manual from Arm.
Transmit the interrupt
request to INTC
No
Interrupt request not
transmitted to CPU
Transmit the interrupt
request to the CPU interface
Is the priority of
the interrupt at the CPU interface
greater than or equal to
the ICCPMR
value?
Yes
Transmit the interrupt
request to CPU
Place the work space on
the stack and branch to
the interrupt handler.
Note 1
Read ICCHPIR
Acquire the interrupt ID
Note 1
from ICCIAR
Branch to the interrupt processing
routine for the given interrupt ID.
Level sensitive?
Yes
Clear the source flag at the
Note 2
source of the request
Read the source flag at the
source of the request
Interrupt processing
Write the interrupt ID to ICCEOIR and
execute the return instruction.
Restore the work space.
Return from the interrupt handler.
7. Interrupt Controller
INTC operation
CPU operation
No
CPU operation
(User software)
CPU operation
7-38

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rz/a1 seriesRz/a1lu seriesRz/a1lc series

Table of Contents