CHAPTER 17 SERIAL INTERFACE IIC0
Preliminary User’s Manual U17260EJ3V1UD
451
(b) Start ~ Address ~ Data ~ Start ~ Address ~ Data ~ Stop (restart)
(i) When WTIM0 = 0
ST
AD6 to AD0
R/W ACK
D7 to D0
AD6 to AD0
ACK
ACK
SP
ST
R/W
D7 to D0
ACK
STT0 = 1
↓
SPT0 = 1
↓
3
4
7
2
1
5
6
1: IICS0 = 1000×110B
2: IICS0 = 1000×000B (Sets WTIM0 to 1)
Note 1
3: IICS0 = 1000××00B (Clears WTIM0 to 0
Note 2
, sets STT0 to 1)
4: IICS0 = 1000×110B
5: IICS0 = 1000×000B (Sets WTIM0 to 1)
Note 3
6: IICS0 = 1000××00B (Sets SPT0 to 1)
7: IICS0 = 00000001B
Notes 1.
To generate a start condition, set WTIM0 to 1 and change the timing for generating the INTIIC0
interrupt request signal.
2.
Clear WTIM0 to 0 to restore the original setting.
3.
To generate a stop condition, set WTIM0 to 1 and change the timing for generating the INTIIC0
interrupt request signal.
Remark
: Always
generated
: Generated only when SPIE0 = 1
×:
Don’t
care
(ii) When WTIM0 = 1
ST
AD6 to AD0
R/W ACK
D7 to D0
AD6 to AD0
ACK
ACK
SP
ST
R/W
D7 to D0
ACK
STT0 = 1
↓
SPT0 = 1
↓
3
4
5
2
1
1: IICS0 = 1000×110B
2: IICS0 = 1000××00B (Sets STT0 to 1)
3: IICS0 = 1000×110B
4: IICS0 = 1000××00B (Sets SPT0 to 1)
5: IICS0 = 00000001B
Remark
: Always
generated
: Generated only when SPIE0 = 1
×:
Don’t
care
Содержание 78K/0 Series
Страница 2: ...Preliminary User s Manual U17260EJ3V1UD 2 MEMO ...
Страница 10: ......
Страница 53: ...CHAPTER 3 CPU ARCHITECTURE Preliminary User s Manual U17260EJ3V1UD 53 Figure 3 6 Memory Map µPD78F0536 ...
Страница 120: ......