EasyManuals Logo

Renesas RL78/G1H User Manual

Renesas RL78/G1H
941 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 #495 background imageLoading...
Page #495 background image
RL78/G1H CHAPTER 15 SERIAL INTERFACE IICA
R01UH0575EJ0120 Rev. 1.20 Page 477 of 920
Dec 22, 2016
An example of the processing procedure of the slave with the INTIICAn interrupt is explained below
(processing is performed assuming that no extension code is used). The INTIICAn interrupt checks the
status, and the following operations are performed.
<1> Communication is stopped if the stop condition is issued.
<2> If the start condition is issued, the address is checked and communication is completed if the
address does not match. If the address matches, the communication mode is set, wait is cancelled,
and processing returns from the interrupt (the ready flag is cleared).
<3> For data transmit/receive, only the ready flag is set. Processing returns from the interrupt with the
I
2
C bus remaining in the wait state.
Remark <1> to <3> above correspond to <1> to <3> in Figure 15 - 39 Slave Operation Flowchart (2).
Figure 15 - 39 Slave Operation Flowchart (2)
Remark n = 0, 1
Set ready flag
Communication direction flag
TRCn
Set communication mode flag
Clear ready flag
SPDn = 1?
STDn = 1?
COIn = 1?
INTIICAn generated
Interrupt servicing completed
Yes
Yes
Yes
No
No
No
Clear communication direction
flag, ready flag, and
communication mode flag
<1>
<2>
<3>

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78/G1H and is the answer not in the manual?

Renesas RL78/G1H Specifications

General IconGeneral
BrandRenesas
ModelRL78/G1H
CategoryMicrocontrollers
LanguageEnglish

Related product manuals