GD32VF103 User Manual
379
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
FAST
DTCY
Reserved
CLKC[11:0]
rw
rw
rw
Bits
Fields
Descriptions
15
FAST
I2C speed selection in master mode
0: Standard speed
1: Fast speed
14
DTCY
Duty cycle in fast mode
0:
T
low
/T
high
= 2
1:
T
low
/T
high
= 16/9
13:12
Reserved
Must be kept the reset value.
11:0
CLKC[11:0]
I2C Clock control in master mode
In standard speed mode:
T
high
= T
low
= CLKC ∗ T
PCLK1
In fast speed mode, if DTCY=0:
T
high
= CLKC ∗ T
PCLK1
,
T
low
= 2 ∗ CLKC ∗ T
PCLK1
In fast speed mode, if DTCY=1:
T
high
= 9 ∗ CLKC ∗ T
PCLK1
,
T
low
= 16 ∗ CLKC ∗ T
PCLK1
17.4.9.
Rise time register (I2C_RT)
Address offset: 0x20
Reset value: 0x0002
This register can be accessed by half-word (16-bit) or word (32-bit)
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
RISETIME[5:0]
rw
Bits
Fields
Descriptions
15:6
Reserved
Must be kept the reset value.
5:0
RISETIME[5:0]
Maximum rise time in master mode
The RISETIME value should be the maximum SCL rise time incremented by 1.