CHAPTER 16 I
2
C BUS
User’s Manual U16896EJ2V0UD
513
The communication reservation flowchart is illustrated below.
Figure 16-14. Communication Reservation Flowchart
DI
STT0 = 1
Define communication
reservation
Wait
Cancel communication
reservation
No
Yes
IIC0
← ××
H
EI
MSTS0 = 0?
(Communication reservation)
Note
(Generate start condition)
; Sets STT0 flag (communication reservation).
; Gets wait period set by software (refer to
Table 16-6
).
; Confirmation of communication reservation
; Clear user flag.
; IIC0 write operation
; Defines that communication reservation is in effect
(defines and sets user flag to any part of RAM).
Note
The communication reservation operation executes a write to the IIC0 register when a stop condition
interrupt request occurs.