GD32F403xx User Manual
447
1: SMBus mode
0
I2CEN
I2C peripheral enable
0: I2C is disabled
1: I2C is enabled
18.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[5: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 is mode switched on
0: DMA mode is switched off
1: DMA mode is switched on
10
BUFIE
0: Buffer interrupt is disabled
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.
Содержание GD32F403 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F403xx Arm Cortex M4 32 bit MCU User Manual Revision 2 6 Jul 2022 ...
Страница 177: ...GD32F403xx UserManual 177 Peripheral Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 SDIO SDIO ...
Страница 217: ...GD32F403xx UserManual 217 ensures that no conversion is in progress ...