12 I
2
C (I2C)
12-18
Seiko epson Corporation
S1C17F13 TeChniCal Manual
(Rev. 1.0)
i2C Ch.
n
Mode Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
I2C
n
MOD
15–8 –
0x00
–
R
–
7–3 –
0x00
–
R
2
OADR10
0
H0
R/W
1
GCEN
0
H0
R/W
0
–
0
–
R
Bits 15–3 Reserved
Bit 2
OaDR10
This bit sets the number of own address bits for slave mode.
1 (R/W): 10-bit address
0 (R/W): 7-bit address
Bit 1
GCen
This bit sets whether to respond to master general calls in slave mode or not.
1 (R/W): Respond to general calls.
0 (R/W): Do not respond to general calls.
Bit 0
Reserved
Note: The I2C
n
MOD register settings can be altered only when the I2C
n
CTL.MODEN bit = 0.
i2C Ch.
n
Baud-Rate Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
I2C
n
BR
15–8 –
0x00
–
R
–
7
–
0
–
R
6–0 BRT[6:0]
0x7f
H0
R/W
Bits 15–7 Reserved
Bits 6–0
BRT[6:0]
These bits set the I2C Ch.
n
transfer rate for master mode. For more information, refer to “Baud Rate
Generator.”
Notes:
•
The I2C
n
BR register settings can be altered only when the I2C
n
CTL.MODEN bit = 0.
•
Be sure to avoid setting the I2C
n
BR register to 0.
i2C Ch.
n
Own address Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
I2C
n
OADR
15–10 –
0x00
–
R
–
9–0 OADR[9:0]
0x000
H0
R/W
Bits 15–10 Reserved
Bits 9–0
OaDR[9:0]
These bits set the own address for slave mode.
The I2C
n
OADR.OADR[9:0] bits are effective in 10-bit address mode (I2C
n
MOD.OADR10 bit = 1),
or the I2C
n
OADR.OADR[6:0] bits are effective in 7-bit address mode (I2C
n
MOD.OADR10 bit = 0).
Note: The I2C
n
OADR register settings can be altered only when the I2C
n
CTL.MODEN bit = 0.