NEC 78K0 Series User Manual page 451

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0 Series:
Table of Contents

Advertisement

(b) Start ~ Address ~ Data ~ Start ~ Address ~ Data ~ Stop (restart)
(i) When WTIM0 = 0
ST
AD6 to AD0 R/W ACK
1: IICS0 = 1000×110B
2: IICS0 = 1000×000B (Sets WTIM0 to 1)
3: IICS0 = 1000××00B (Clears WTIM0 to 0
4: IICS0 = 1000×110B
5: IICS0 = 1000×000B (Sets WTIM0 to 1)
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
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
CHAPTER 17 SERIAL INTERFACE IIC0
STT0 = 1
D7 to D0
ACK
ST
AD6 to AD0
1
2
3
Note 1
Note 2
, sets STT0 to 1)
Note 3
STT0 = 1
D7 to D0
ACK
ST
AD6 to AD0
1
2
Preliminary User's Manual U17260EJ3V1UD
SPT0 = 1
R/W
ACK
D7 to D0
ACK
4
5
SPT0 = 1
R/W
ACK
D7 to D0
ACK
3
SP
7
6
SP
4
5
451

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents