Toshiba H1 Series User Manual
Page 362

TMP92CZ26A
92CZ26A-359
(3) 1-word Data Transfer
Check the
completed, and determine whether the mode is a master or slave.
a. If
= “1” (Master Mode)
Check the
receiver.
When the
= “1” (Transmitter mode)
Check the
Implement the process to generate a stop condition (Refer to 3.15.6 (4)) and
terminate data transfer.
When the
transmitted data is 8 bits, write the transmitted data to SBIDBR. When the next
transmitted data is other than 8 bits, set the
transmitted data to SBIDBR. After written the data,
clock pulse is generated for transferring a new 1-word of data from the SCL pin,
and then the 1-word data is transmitted. After the data is transmitted, an
INTSBI interrupt request occurs. The
pulled down to the Low-level. If the data to be transferred is more than one word
in length, repeat the procedure from the
INTSBI interrupt
if MST = 0
Then shift to the process when slave mode
if TRX = 0
Then shift to the process when receiver mode.
if LRB = 0
Then shift to the process that generates stop condition.
Figure 3.15.15 Example in which
= “000” and
7 6 5 4 3 2 1 0
SBICR1
← X X X X X X X X
Set the bit number of transmit and ACK.
SBIDBR
← X X X X X X X X
Write the transmit data.
End of interrupt
Note: X: Don’t care
1
2
3
4
5
6
7
8
9
D7 D6 D5 D4
D3
D2
D1
D0
Acknowledge
signal from a
receiver
Write to SBIDBR
SCL
SDA
INTSBI
interrupt request
ACK
Output from master
Output from slave