R01UH0092EJ0110 Rev.1.10
Page 546 of 807
Jul 31, 2012
M16C/64C Group
25. Multi-master I
2
C-bus Interface
25.2.7
I2C0 Control Register 1 (S3D0)
Do not use the bit managing instruction (read-modify-write instruction) to access the S3D0 register. Use
the MOV instruction to write to the S3D0 register.
SIM (Stop condition detect interrupt enable bit) (b0)
When the SIM bit is 1 (I
2
C-bus interrupt by stop condition detection enabled) and a stop condition is
detected, the SCPIN bit in the S4D0 register becomes 1 (stop condition detect interrupt requested) and
the IR bit in the IICIC register becomes 1 (interrupt requested).
b7 b6 b5 b4
b1
b2
b3
I2C0 Control Register 1
Symbol
S3D0
Address
02B6h
Bit Symbol
Bit Name
RW
After Reset
0011 0000b
b0
Function
PEC
SDAM
RW
SCLM
RW
ICK0
ICK1
I
2
C-bus system clock select bit
(enabled when bits ICK4 to
ICK2 in the S4D0 register are
000b)
RW
0: SCLMM I/O pin
1: Port output pin
Internal SDA output monitor
bit
0: Logic 0 output
1: Logic 1 output
PED
RO
RO
RW
Internal SCL output monitor bit
b7 b6
0 0: fIIC divided by 2
0 1: fIIC divided by 4
1 0: fIIC divided by 8
1 1: Do not set this value.
0: Logic 0 output
1: Logic 1 output
SDAMM/port function select
bit
0: SDAMM I/O pin
1: Port output pin
SIM
Stop condition detect interrupt
enable bit
0: I
2
C-bus interrupt by stop condition
detection is disabled
1: I
2
C-bus interrupt by stop condition
detection is enabled
RW
WIT
RW
Data receive interrupt enable
bit
When write,
0: I
2
C-bus interrupt at 8th clock is disabled
1: I
2
C-bus interrupt is enabled at 8th clock
When read, internal WAIT bit monitor
0: I
2
C-bus interrupt by falling edge of ACK clock
1: I
2
C-bus interrupt at 8th clock
SCLMM/port function select bit
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...