Renesas M16C/64A Series User Manual page 581

Table of Contents

Advertisement

M16C/64A Group
25.2.8
I2C0 Control Register 2 (S4D0)
I2C0 Control Register 2
b7 b6 b5 b4
b3
b2
b1
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
The IHR bit in the S1D0 register is set to 1 (I
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.
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
Symbol
b0
S4D0
Bit Symbol
Bit Name
Timeout detect function
TOE
enable bit
TOF
Timeout detect flag
TOSEL
Timeout detect time select bit
ICK2
2
ICK3
I
C-bus system clock select bit
ICK4
MSLAD
Slave address control bit
Stop condition detect interrupt
SCPIN
request bit
25. Multi-master I
Address
02B7h
Function
0: Disabled
1: Enabled
0: Not detected
1: Detected
0: Long time
1: Short time
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.
0: S0D0 register only
1: Registers S0D0 to S0D2
2
0: I
C-bus interrupt not requested
2
1: I
C-bus interrupt requested
2
C interface disabled).
2
C interface reset).
2
C-bus Interface
Reset Value
00b
RW
RW
RO
RW
RW
RW
RW
RW
RW
Page 548 of 800

Advertisement

Table of Contents
loading

Table of Contents