CHAPTER 15 SERIAL INTERFACE IICA
Page 480 of 920
(b)
Start ~ Address ~ Data ~ Start ~ Address ~ Data ~ Stop (restart)
(i) When WTIMn = 0
(ii) When WTIMn = 1
Remark
n = 0, 1
ST
AD6 to AD0
D7 to D0
R/W ACK
ACK
STTn = 1
↓
SP
ST
AD6 to AD0
D7 to D0
R/W ACK
ACK
SPTn = 1
↓
7
6
5
4
3
2
1
▲
1: IICSn = 1000×110B
▲
2: IICSn = 1000×000B (Sets the WTIMn bit to 1)
▲
3: IICSn = 1000××00B (Clears the WTIMn bit to 0
, sets the STTn bit to 1)
▲
4: IICSn = 1000×110B
▲
5: IICSn = 1000×000B (Sets the WTIMn bit to 1)
▲
6: IICSn = 1000××00B (Sets the SPTn bit to 1)
7: IICSn = 00000001B
Note 1.
To generate a start condition, set the WTIMn bit to 1 and change the timing for generating the INTIICAn interrupt
request signal.
Note 2.
Clear the WTIMn bit to 0 to restore the original setting.
Note 3.
To generate a stop condition, set the WTIMn bit to 1 and change the timing for generating the INTIICAn interrupt
request signal.
Remark
▲
: Always generated
: Generated only when SPIEn = 1
× : Don’t care
ST
AD6 to AD0
D7 to D0
R/W ACK
ACK
STTn = 1
↓
SP
ST
AD6 to AD0
D7 to D0
R/W ACK
ACK
SPTn = 1
↓
5
4
3
2
1
▲
1: IICSn = 1000×110B
▲
2: IICSn = 1000××00B (Sets the STTn bit to 1)
▲
3: IICSn = 1000×110B
▲
4: IICSn = 1000××00B (Sets the SPTn bit to 1)
5: IICSn = 00000001B
Remark
▲
: Always generated
: Generated only when SPIEn = 1
× : Don’t care
Содержание RL78/G1H
Страница 941: ...R01UH0575EJ0120 RL78 G1H...