NEC V850ES/F 3-L Series User Manual page 518

32-bit single-chip microcontroller
Table of Contents

Advertisement

Chapter 17
Note
Interrupt servicing completed
Termination processing
Clear communication mode
Interrupt servicing completed
Figure 17-18
518
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.
<1> to <3> in the above correspond to <1> to <3> in Figure 17-18.
INTIICn generated
Yes
SPDn = 1?
No
Yes
STDn = 1?
No
<3>
Set ready flag
LRELn = 1
Slave operation flowchart (2)
User's Manual U18743EE1V2UM00
<1>
<2>
COIn = 1?
Yes
Communication direction flag ← TRCn
Set communication mode flag
Clear ready flag
Interrupt servicing completed
2
I
C Bus (IIC)
No

Advertisement

Table of Contents
loading

Table of Contents