![GigaDevice Semiconductor GD32E23 Series User Manual Download Page 486](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32e23-series/gd32e23-series_user-manual_2225794486.webp)
GD32E23x User Manual
486
0
I2CEN
I2C peripheral enable
0: I2C is disabled
1: I2C is enabled
17.4.2.
Control register 1 (I2C_CTL1)
Address offset: 0x04
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
Reserved
DMALST DMAON
BUFIE
EVIE
ERRIE
Reserved
I2CCLK[6:0]
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:13
Reserved
Must be kept at reset value.
12
DMALST
DMA last transfer configure
0: Next DMA EOT is not the last transfer
1: Next DMA EOT is the last transfer
11
DMAON
DMA mode switch
0: DMA mode switched off
1: DMA mode switched on
10
BUFIE
Buffer interrupt enable
0: Buffer interrupt is disabled, TBE = 1 or RBNE = 1 when EVIE=1 will not generate
an interrupt.
1: Buffer interrupt is enabled, which means that interrupt will be generated when
TBE = 1 or RBNE = 1 if EVIE=1.
9
EVIE
Event interrupt enable
0: Event interrupt is disabled
1: Event interrupt is enabled, which means that interrupt will be generated when
SBSEND, ADDSEND, ADD10SEND, STPDET or BTC flag asserted or TBE=1 or
RBNE=1 if BUFIE=1.
8
ERRIE
Error interrupt enable
0: Error interrupt is disabled
1: Error interrupt is enabled, which means that interrupt will be generated when
BERR, LOSTARB, AERR, OUERR, PECERR, SMBTO or SMBALT flag is
asserted.