
GD32F20x User Manual
542
0: SADDR0 address matches
1: SADDR1 address matches
6
HSTSMB
SMBus Host Header detected in slave mode
This bit is cleared by hardware after a STOP or a START condition or I2CEN=0
0: No SMBus Host Header detected
1: SMBus Host Header detected
5
DEFSMB
Default address of SMBusDevice
This bit is cleared by hardware after a STOP or a START condition or I2CEN=0.
0: The default address has not been received
1: The default address has been received for SMBus Device
4
RXGC
General call address (00h) received.
This bit is cleared by hardware after a STOP or a START condition or I2CEN=0.
0: No general call address (00h) received
1: General call address (00h) received
3
Reserved
Must be kept the reset value
2
TRS
Whether the I2C is a transmitter or a receiver
This bit is cleared by hardware after a STOP or a START condition or I2CEN=0 or
LOSTARB=1.
0: Receiver
1: Transmitter
1
I2CBSY
Busy flag
This bit is cleared by hardware after a STOP condition
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 cleared by hardware after a STOP or a START condition or I2CEN=0 or
LOSTARB=1.
0: Slave mode
1: Master mode
20.4.8.
Clock configure register (I2C_CKCFG)
Address offset: 0x1C
Reset value: 0x0000
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
FAST
DTCY
Reserved
CLKC[11:0]
rw
rw
rw
Bits
Fields
Descriptions
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...