GD32W51x User Manual
667
Softw are can clear the LOSTARB bit of I2C_STAT by w riting 1 to this bit
8
BERRC
Bus error flag clear.
Softw are can clear the BERR bit of I2C_STAT by w riting 1 to this bit
7:6
Reservced
Must be kept at reset value.
5
STPDETC
STPDET flag clear
Softw are can clear the STPDET bit of I2C_STAT by w rite 1 to this bit
4
NACKC
Not Acknow ledge flag clear
Softw are can clear the NACK bit of I2C_STAT by w rite 1 to this bit
3
ADDSENDC
ADDSEND flag clear
Softw are can clear the ADDSEND bit of I2C_STAT by w rite 1 to this bit
2:0
Reserved
Must be kept at reset value.
19.4.9.
PEC register (I2C_PEC)
Address offset: 0x20
Reset value: 0x0000 0000
This register can be accessed by 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
PECV[7:0]
r
Bits
Fields
Descriptions
31:8
Reserved
Must be kept at reset value.
7:0
PECV[7:0]
Packet Error Checking Value that calculated by hardw are w hen PEC is enabled.
PECV is cleared by hardw are w hen I2CEN = 0.
19.4.10.
Receive data register (I2C_RDATA)
Address offset: 0x24
Reset value: 0x0000 0000
This register can be accessed by word (32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved