Section 18
I
2
C Bus Interface (IIC)
Rev. 1.00 Apr. 28, 2008 Page 545 of 994
REJ09B0452-0100
Bit Bit
Name
Initial
Value R/W Description
2
0
BBSY
SCP
0
1
R/W
*
W
Bus Busy
Start Condition/Stop Condition Prohibit
In master mode:
•
Writing 0 in BBSY and 0 in SCP: A stop condition is
issued
•
Writing 1 in BBSY and 0 in SCP: A start condition
and a restart condition are issued
In slave mode:
•
Writing to the BBSY flag is disabled.
[BBSY setting condition]
When the SDA level changes from high to low under
the condition of SCL = high, assuming that the start
condition has been issued.
[BBSY clearing condition]
When the SDA level changes from low to high under
the condition of SCL = high, assuming that the stop
condition has been issued.
To issue a start/stop condition, use the MOV
instruction.
The I
2
C bus interface must be set in master transmit
mode before the issue of a start condition. Set MST to
1 and TRS to 1 before writing 1 in BBSY and 0 in SCP.
The BBSY flag can be read to check whether the I
2
C
bus (SCL, SDA) is busy or free.
The SCP bit is always read as 1. If 0 is written, the data
is not stored.
Note:
*
The value in BBSY flag does not change even if written.
Содержание H8S/2100 Series
Страница 2: ...Rev 1 00 Apr 28 2008 Page ii of xxvi...
Страница 54: ...Section 1 Overview Rev 1 00 Apr 28 2008 Page 28 of 994 REJ09B0452 0100...
Страница 92: ...Section 2 CPU Rev 1 00 Apr 28 2008 Page 66 of 994 REJ09B0452 0100...
Страница 158: ...Section 5 Interrupt Controller Rev 1 00 Apr 28 2008 Page 132 of 994 REJ09B0452 0100...
Страница 244: ...Section 8 8 Bit PWM Timer PWMU Rev 1 00 Apr 28 2008 Page 218 of 994 REJ09B0452 0100...
Страница 330: ...Section 10 16 Bit Timer Pulse Unit TPU Rev 1 00 Apr 28 2008 Page 304 of 994 REJ09B0452 0100...
Страница 354: ...Section 11 16 Bit Cycle Measurement Timer TCM Rev 1 00 Apr 28 2008 Page 328 of 994 REJ09B0452 0100...
Страница 380: ...Section 12 16 Bit Duty Period Measurement Timer TDP Rev 1 00 Apr 28 2008 Page 354 of 994 REJ09B0452 0100...
Страница 416: ...Section 13 8 Bit Timer TMR Rev 1 00 Apr 28 2008 Page 390 of 994 REJ09B0452 0100...
Страница 494: ...Section 15 Serial Communication Interface SCI Rev 1 00 Apr 28 2008 Page 468 of 994 REJ09B0452 0100...
Страница 612: ...Section 18 I 2 C Bus Interface IIC Rev 1 00 Apr 28 2008 Page 586 of 994 REJ09B0452 0100...
Страница 706: ...Section 20 LPC Interface LPC Rev 1 00 Apr 28 2008 Page 680 of 994 REJ09B0452 0100...
Страница 752: ...Section 21 FSI Interface Rev 1 00 Apr 28 2008 Page 726 of 994 REJ09B0452 0100...
Страница 774: ...Section 23 RAM Rev 1 00 Apr 28 2008 Page 748 of 994 REJ09B0452 0100...
Страница 1008: ...Section 28 Electrical Characteristics Rev 1 00 Apr 28 2008 Page 982 of 994 REJ09B0452 0100...
Страница 1020: ...Rev 1 00 Apr 28 2008 Page 994 of 994 REJ09B0452 0100...
Страница 1023: ......
Страница 1024: ...H8S 2117R Group Hardware Manual...