AT32F425
Series Reference Manual
2022.03.30
Page 142
Ver 2.01
11.7.1 Control register1 (I2C_CTRL1)
Bit
Register
Reset value
Type
Description
Bit 31:24 Reserved
0x00
res
Kept at its default value.
Bit 23
PECEN
0x0
rw
PEC calculation enable
0: PEC calculation disabled
1: PEC calculation enabled
Bit 22
SMBALERT
0x0
rw
SMBus alert enable / pin set
To enable SMBus master alert feature:
0: SMBus alert disabled
1: SMBus alert enabled
To enable SMBus slave alert address:
0: Pin high
1: Pin low, response address 0001100x
Bit 21
DEVADDREN
0x0
rw
SMBus device default address enable
0: SMBus device default address disabled
1: SMBus device default address enabled, response
device default address 1100001x
Bit 20
HADDREN
0x0
rw
SMBus host address enable
0: SMBus host address disabled
1: SMBus host address enabled, response host address
0001000x
Bit 19
GCAEN
0x0
rw
General call address enable
0: General call address disabled
1: General call address enabled, response 0000000x
Bit 18
Reserved
0x0
res
Kept at its default value.
Bit 17
STRETCH
0x0
rw
Clock stretching mode
0: Clock stretching mode enabled
1: Clock stretching mode disabled
Bit 16
SCTRL
0x0
rw
Slave receive data control
0: Slave receive data disabled
1: Slave receive data enabled
Bit 15
DMAREN
0x0
rw
DMA receive data request enable
0: DMA receive data request disabled
1: DMA receive data request enabled
Bit 14
DMATEN
0x0
rw
DMA Transmit data request enable
0: DMA Transmit data request disabled
1: DMA Transmit data request enabled
Bit 13: 12 Reserved
0x0
resd
Kept at its default value.
Bit 11: 8
DELT
0x0
rw
Digital filter value
Filter time = DFLT x TI2C_CLK
The gitches less than the filter time on the SCL bus will be
filtered.
Bit 7
ERRIEN
0x0
rw
Error interrupt enable
0: Error interrupt disabled
1: Error interrupt enabled
Bit 6
TDCIEN
0x0
rw
Data transfer complete interrupt enable
0: Data transfer complete interrupt disabled
1: Data transfer complete interrupt enabled
Bit 5
STOPIEN
0x0
rw
Stop generation complete interrupt enable
0: Stop generation complete interrupt disabled
1: Stop generation complete interrupt enabled
Bit 4
ACKFAILIEN
0x0
rw
Acknowledge fail interrupt enable