Toshiba H1 SERIES TLCS-900 User Manual
Page 182
TMP92CM22
2007-02-16
92CM22-180
(6) Transmitter/receiver selection
Set the SBI0CR2
the
addressing format, when received slave address is same value with setting value to
I2C0AR, or GENERAL CALL is received (All 8-bit data are “0” after a start condition),
the
W
) sent from the master
device is “1”, and
In the master mode, after an acknowledge signal is returned from the slave device,
the
set to “1” by the hardware if it is “0”. When an acknowledge signal is not returned, the
current condition is maintained.
The
detected or arbitration is lost.
(7) Start/stop condition generation
When programmed “1111” to SBI0CR2
SBI0SR
start condition are output on a bus. And it is necessary to set transmitted data to the
data buffer register (SBI0DBR) and set “1” to
Figure 3.10.9 Generation of Start Condition and Slave Address
When programmed “0” to SBI0CR2
SBI0SR
contents of
Figure 3.10.10 Generation of Stop Condition
The state of the bus can be ascertained by reading the contents of SBI0SR
SBI0SR
bus, and will be cleared to 0 if a stop condition has been detected (Bus free status).
1
2
3
4
5
6
7
8
9
A6 A5 A4
A3
A2
A1
A0
R/
W
Slave address and direction bit
Acknowledge
signal
Start condition
SCL line
SDA line
SCL line
SDA line
Stop condition