CHAPTER 17 SERIAL INTERFACE IIC0 (
µ
PD780344Y, 780354Y SUBSERIES ONLY)
352
User’s Manual U15798EJ2V0UD
(2) Slave operation
An example of slave operation is shown below.
Figure 17-20. Slave Operation Flowchart
IICC0
← ××
H
IICE0 = 1
WREL0 = 1
Start reception
Detect restart condition
or stop condition
START
ACKE0 = 0
WREL0 = 1
Data processing
Data processing
LREL0 = 1
No
Yes
No
No
No
No
No
No
No
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
IICC0
← ××
H
WTIM0 = 0
ACKE0 = 1
INTIIC0 = 1?
Yes
Communicate?
Transfer completed?
INTIIC0 = 1?
WTIM0 = 1
Start IIC0 write transfer
INTIIC0 = 1?
EXC0 = 1?
COI0 = 1?
TRC0 = 1?
ACKD0 = 1 ?
WREL0 = 1
Cancel wait
Содержание mPD780344 Series
Страница 2: ...2 User s Manual U15798EJ2V0UD MEMO...