![GigaDevice Semiconductor GD32E23 Series Скачать руководство пользователя страница 492](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32e23-series/gd32e23-series_user-manual_2225794492.webp)
GD32E23x User Manual
492
This bit is cleared by hardware after a STOP or a START signal or I2CEN=0.
0: No general call address received
1: General call address received
3
Reserved
Must be kept at reset value.
2
TR
Transmitter or receiver
This bit indicates whether the I2C is a transmitter or a receiver. It is cleared by
hardware after a STOP or a START signal or I2CEN=0 or LOSTARB=1.
0: Receiver
1: Transmitter
1
I2CBSY
Busy flag
This bit is cleared by hardware after a STOP signal
0: No I2C communication.
1: I2C communication active.
0
MASTER
A flag indicating whether I2C block is in master or slave mode.
This bit is set by hardware when a START signal generates.
This bit is cleared by hardware after a STOP signal or I2CEN=0 or LOSTARB=1.
0: Slave mode
1: Master mode
17.4.8.
Clock configure register (I2C_CKCFG)
Address offset: 0x1C
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
FAST
DTCY
Reserved
CLKC[11:0]
rw
rw
rw
Bits
Fields
Descriptions
31:16
Reserved
Must be kept at reset value.
15
FAST
I2C speed selection in master mode
0: Standard speed
1: Fast speed
14
DTCY
Duty cycle in fast mode or fast mode plus
0:
T
low
/T
high
=2
1:
T
low
/T
high
=16/9