GD32W51x User Manual
657
1: Error interrupt enabled. When BERR, LOSTARB, OUERR, PECERR, TIMEO U T
or SMBALT bit is set, an interrupt w ill be generated.
6
TCIE
Transfer complete interrupt enable
0: Transfer complete interrupt is disabled
1: Transfer complete interrupt is enabled
5
STPDETIE
Stop detection interrupt enable
0: Stop detection (STPDET) interrupt is disabled
1: Stop detection (STPDET) interrupt is enabled
4
NACKIE
Not acknow ledge received interrupt enable
0: Not acknow ledge (NACK) received interrupt is disabled
1: Not acknow ledge (NACK) received interrupt is enabled
3
ADDMIE
Address match interrupt enable in slave mode
0: Address match (ADDSEND) interrupt is disabled
1: Address match (ADDSEND) interrupt is enabled
2
RBNEIE
Receive interrupt enable
0: Receive (RBNE) interrupt is disabled
1: Receive (RBNE) interrupt is enabled
1
TIE
Transmit interrupt enable
0: Transmit (TI) interrupt is disabled
1: Transmit (TI) interrupt is enabled
0
I2CEN
I2C peripheral enable
0: I2C is disabled
1: I2C is enabled
19.4.2.
Control register 1 (I2C_CTL1)
Address offset: 0x04
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
PECTRA
NS
AUTOEN
D
RELOAD
BYTENUM[7:0]
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
NACKEN
STOP
START
HEAD10
R
ADD10E
N
TRDIR
SADDRESS[9:0]
rw
rw
rw
rw
rw
rw
rw