R01UH0092EJ0110 Rev.1.10
Page 550 of 807
Jul 31, 2012
M16C/64C Group
25. Multi-master I
2
C-bus Interface
25.2.8
I2C0 Control Register 2 (S4D0)
TOE (Timeout detect function enable bit) (b0)
The TOE bit enables the timeout detect function. Refer to 25.3.9 “Timeout Detection”
for details.
TOF (Timeout detect flag) (b1)
The TOF bit is enabled when the TOE bit is set to 1. When the TOF bit becomes 1 (detected), the IR bit
in the IICIC register becomes 1 (interrupt requested) at the same time.
Conditions to become 0:
•
The ES0 bit in the S1D0 register is set to 0 (I
2
C interface disabled).
•
The IHR bit in the S1D0 register is set to 1 (I
2
C interface reset).
Condition to become 1:
•
The BB bit in the S10 register is set to 1 (bus busy) and the SCLMM high period is greater than the
timeout detect period.
I2C0 Control Register 2
Symbol
S4D0
Address
02B7h
Bit Symbol
Bit Name
RW
Reset Value
00b
Function
ICK2
ICK3
RW
ICK4
RW
MSLAD
SCPIN
Slave address control bit
0: I
2
C-bus interrupt not requested
1: I
2
C-bus interrupt requested
Stop condition detect interrupt
request bit
RW
I
2
C-bus system clock select bit
b5 b4 b3
0 0 0: Bits ICK1 and ICK0 in the S3D0
register are enabled
0 0 1: fIIC divided by 2.5
0 1 0: fIIC divided by 3
0 1 1: fIIC divided by 5
1 0 0: fIIC divided by 6
Only set the values listed above.
TOE
Timeout detect function
enable bit
TOF
TOSEL
0: Disabled
1: Enabled
RW
RW
RW
RO
RW
0: S0D0 register only
1: Registers S0D0 to S0D2
Timeout detect flag
Timeout detect time select bit
0: Not detected
1: Detected
0: Long time
1: Short time
b7 b6 b5 b4
b1
b2
b3
b0
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...