Interrupt Sources - 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
18.4

Interrupt Sources

The RIIC issues eight types of interrupt requests: transmission complete, receive data full, transmit
data empty, detection of a stop condition, detection of a start condition, reception of a NACK,
arbitration lost, and timeout.
Table 18.23 lists details of the interrupt requests. The receive data full and transmit data empty
interrupt sources are both capable of launching data transfer by starting the DMAC.
Table 18.23
Symbol
INTRIICTEI
INTRIICRI
INTRIICTI
INTRIICSPI
INTRIICSTI
INTRIICNAKI
INTRIICALI
INTRIICTMOI
Note 1.
Clear or mask the each flag during interrupt handling.
CAUTIONS
1.
There is a latency (delay) between the execution of a write instruction for a peripheral module by
the CPU and actual writing to the module. Thus, when an interrupt flag has been cleared or
masked, read the relevant flag again to check whether clearing or masking has been completed,
and then return from interrupt processing. Returning from interrupt processing without checking
that writing to the module has been completed creates a possibility of repeated processing of the
same interrupt.
2.
The INTRIICRI and INTRIICTI interrupts do not need to be cleared because they are edge
interrupts.
3.
When using the INTRIICTEI interrupt, clear the RIICnSR2.TEND flag in the INTRIICTEI interrupt
processing.
4.
When using the INTRIICSPI interrupt, clear the RIICnSR2.STOP flag in the INTRIICSPI interrupt
processing.
5.
When using the INTRIICSTI interrupt, clear the RIICnSR2.START flag in the INTRIICSTI interrupt
processing.
6.
When using the INTRIICNAKI interrupt, clear the RIICnSR2.NACKF flag in the INTRIICNAKI
interrupt processing.
7.
When using the INTRIICALI interrupt, clear the RIICnSR2.AL flag in the INTRIICALI interrupt
processing.
8.
When using the INTRIICTMOI interrupt, clear the RIICnSR2.TMOF flag in the INTRIICTMOI
interrupt processing.
R01UH0437EJ0600 Rev.6.00
Jan 29, 2021
Interrupt Sources
Interrupt Source
Transmission complete
Receive data full
Transmit data empty
Detection of a stop
condition
Detection of a start
condition
Reception of a NACK
Arbitration lost
Timeout
When the setting value of the interrupt priority register (ICDIPRn) is the same
Interrupt
DMAC
Flag
Launching
TEND
Not possible
RDRF
Possible
TDRE
Possible
STOP
Not possible
START
Not possible
NACKF
Not possible
AL
Not possible
TMOF
Not possible
18. I²C Bus Interface
1
Priority*
Interrupt Condition
High
TEND = 1 • TEIE = 1
RDRF = 1 • RIE = 1
TDRE = 1 • TIE = 1
STOP = 1 • SPIE = 1
START = 1 • STIE = 1
NACKF = 1 • NAKIE = 1
AL = 1 • ALIE = 1
Low
TMOF = 1 • TMOIE = 1
18-44

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rz/a1 seriesRz/a1lu seriesRz/a1lc series

Table of Contents