Inter-Integrated Circuit Controller
7-84
The I
2
C SCL high-time control register (I2C_SCLL) determines the SCL high-
time value when master.
Table 7–70. I
2
C SCL High Time Control Register (I2C_SCLH)
Bit
Name
Description
15–8
Reserved
7–0
SCLH
SCL high time
Master mode only.
This 8-bit value (bits 7-0) is used to generate the SCL high time value (t
HIGH
)
when the peripheral is operated in master mode.
The SCL high time equals (SCLH+6) * ICLK time period (internal sampling clock
rate).
-
0x0: 6 * ICLK time period
-
0x1: 7 * ICLK time period
-
↓ ↓
-
0xFF: 261 * ICLK time period
Values after reset are low (all 10 bits).
The I
2
C system test register (I2C_SYSTEST) is used to facilitate system level
test by overriding some of the standard functional features of the peripheral.
It can permit the test of SCL counters, control the signals that connect to I/O
pins, or create digital loop-back for self-test when the module is configured in
system test (SYSTEST) mode. It also provides stop/no-stop function in debug
mode. Never set for normal I
2
C operation.
Table 7–71. I
2
C System Test Register (I2C_SYSTEST)
Bit
Name
Description
15
ST_EN
System test enable
14
FREE
Free running mode (on breakpoint)
13 –12
TMODE
Test mode select
11 –4
Reserved
3
SCL_I
SCL line sense input value
2
SCL_O
SCL line drive output value
1
SDA_I
SDA line sense input value
0
SDA_O
SDA line drive output value