GD32W51x User Manual
655
19.4.
Register definition
I2C0 secure access base address: 0x5000 5400
I2C0 non-secure access base address: 0x4000 5400
I2C1 secure access base address: 0x5000 5800
I2C1 non-secure access base address: 0x4000 5800
19.4.1.
Control register 0 (I2C_CTL0)
Address offset: 0x00
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
PECEN
SMBALT
EN
SMBDAE
N
SMBHAE
N
GCEN
WUEN
SS
SBCTL
rw
rw
rw
rw
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DENR
DENT
Reserved ANOFF
DNF[3:0]
ERRIE
TCIE
STPDETI
E
NACKIE ADDMIE RBNEIE
TIE
I2CEN
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:24
Reserved
Must be kept at reset value.
23
PECEN
PEC Calculation Sw itch
0: PEC Calculation off
1: PEC Calculation on
22
SMBALTEN
SMBus Alert enable
0: SMBA pin is not pulled dow n (device mode) or SMBus Alert pin SMBA is disabled
(host mode)
1: SMBA pin is pulled dow n (device mode) or SMBus Alert pin SMBA is enabled
(host mode)
21
SMBDAEN
SMBus device default address enable
0: Device default address is disabled, the default address 0b1100001x w ill be not
acknow ledged.
1: Device default address is enabled, the default address 0b1100001x w ill be
acknow ledged.
20
SMBHAEN
SMBus Host address enable
0: Host address is disabled, address 0b0001000x w ill be not acknow ledged.