630
Chapter 18
I
2
C Bus (IIC)
Preliminary User’s Manual U17566EE1V2UM00
During an INTIICn interrupt, the status is confirmed and the following steps are
executed.
<1> When a stop condition is detected, communication is terminated.
<2> When a start condition is detected, the address is confirmed. If the
address does not match, communication is terminated. If the address
matches, the communication mode is set and wait is released, and
operation returns from the interrupt (the ready flag is cleared).
<3> For data transmission/reception, when the ready flag is set, operation
returns from the interrupt while the IIC0n bus remains in the wait status.
Note
<1> to <3> in the above correspond to <1> to <3> in
Figure 18-18
.
Figure 18-18
Slave operation flowchart (2)
Ye
s
Ye
s
Ye
s
No
No
No
INTIICn gener
a
ted
S
et re
a
dy fl
a
g
Interr
u
pt
s
ervicing completed
Interr
u
pt
s
ervicing completed
Interr
u
pt
s
ervicing completed
Termin
a
tion proce
ss
ing
S
PDn = 1?
S
TDn = 1?
COIn = 1?
LRELn = 1
Cle
a
r comm
u
nic
a
tion mode
Comm
u
nic
a
tion direction fl
a
g
←
TRCn
S
et comm
u
nic
a
tion mode fl
a
g
Cle
a
r re
a
dy fl
a
g
<1>
<2>
<
3
>
electronic components distributor