Interrupt Judgment Examples - 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
22.4.2

Interrupt judgment examples

Figure 22-9 IEBBTD interrupt judgment example
Caution
Figure 22-10 IEBBTERR interrupt judgment example
R01UH0437EJ0600 Rev.6.00
Jan 29, 2021
Interrupt judgment examples for the single mode are shown below.
(1)
When using IEBBTD
IEBBn transmission/reception must be checked by issuing an IEBBTD interrupt.
IEBBTD occurs.
Check the
IEBBnISR.IEBBnIEBE bit.
0
IEBBnFS.IEBBnSSFS0
bit = 1?
Yes
Transmission write
processing
Even if IEBBTD occurs, an error might occur depending on when the interrupt
is handled.
Such errors include timing errors after IEBBTD occurs. To increase data
processing reliability, only handle data after using the IEBBnISR.IEBBnIEBE
bit to make sure that no error has occurred.
(2)
When using IEBBTERR
Read the IEBBnESR register
1
Error processing
Master or slave transmission
No
Reception read processing
IEBBTERR occurs.
and use flags for judgment.
Error processing
22. IEBus Controller
22-77

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rz/a1 seriesRz/a1lu seriesRz/a1lc series

Table of Contents