![GigaDevice Semiconductor GD32E23 Series Скачать руководство пользователя страница 493](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32e23-series/gd32e23-series_user-manual_2225794493.webp)
GD32E23x User Manual
493
13:12
Reserved
Must be kept at 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 or fast mode plus, if DTCY=0:
T
high
=CLKC*T
PCLK1
,
T
low
=2*CLKC*T
PCLK1
In fast speed mode or fast mode plus, if DTCY=1:
T
high
=9*CLKC*T
PCLK1
,
T
low
=16*CLKC*T
PCLK1
Note:
If DTCY is 0, when PCLK1 is an integral multiple of 3, the baud rate will be
more accurate. If DTCY is 1, when PCLK1 is an integral multiple of 25, the baud
rate will be more accurate.
17.4.9.
Rise time register (I2C_RT)
Address offset: 0x20
Reset value: 0x0000 0002
This register can be accessed by half-word (16-bit) or word (32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
RISETIME[6:0]
rw
Bits
Fields
Descriptions
31:7
Reserved
Must be kept at reset value.
6:0
RISETIME[6:0]
Maximum rise time in master mode
The RISETIME value should be the maximum SCL rise time incremented by 1.
17.4.10.
SAM control and status register (I2C_SAMCS)
Address offset: 0x80
Reset value: 0x0000 0000
This register can be accessed by half-word (16-bit) or word (32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RFR
RFF
TFR
TFF
Reserved
RXF
TXF
RFRIE
RFFIE
TFRIE
TFFIE
Reserved
STOEN
SAMEN
rc_w0
rc_w0
rc_w0
rc_w0
r
r
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions