AT32F425
Series Reference Manual
2022.03.30
Page 143
Ver 2.01
0: Acknowledge fail interrupt disabled
1: Acknowledge fail interrupt enabled
Bit 3
ADDRIEN
0x0
rw
Address match interrupt enable
0: Address match interrupt disabled
1: Address match interrupt enabled
Bit 2
RDIEN
0x0
resd
Data receive interrupt enable
0: Data receive interrupt disabled
1: Data receive interrupt enabled
Bit 1
TDIEN
0x0
rw
Data transmit interrupt enable
0: Data transmit interrupt disabled
1: Data transmit interrupt enabled
Bit 0
I2CEN
0x0
rw
I
2
C peripheral enable
0: Disabled
1: Enabled
11.7.2 Control register2 (I2C_CTRL2)
Bit
Register
Reset value
Type
Description
Bit 31: 27
Reserved
0x00
res
Kept at its default value.
Bit 26
PECTEN
0x0
rw
Request PEC transmission enable
0: Transmission disabled
1: Transmission enabled
Bit 25
ASTOPEN
0x0
rw
Automatically send stop condition enable
0: Disabled (Software sends STOP condition)
1: Enabled (Automatically send STOP condition)
Bit 24
RLDEN
0x0
rw
Send data reload mode enable
0: Send data reload mode disable
1: Send data reload mode enabled
Bit 23: 16 CNT[7: 0]
0x00
rw
Transmit data counter
Bit 15
NACKEN
0x0
rw
Not acknowledge enable
0: Acknowledge enabled
1: Acknowledge disabled
Bit 14
GENSTOP
0x0
rw
Generate stop condition
0: No stop generation
1: stop generation
Bit 13
GENSTART
0x0
rw
Generate start condition
0: No start generation
1: Start generation
Bit 12
READH10
0x0
rw
10-bit address header read enable
0: 10-bit address header read disabled
1: 10-bit address header read enabled
Bit 11
ADDR10
0x0
rw
Host sends 10-bit address mode enable
0: 7-bit address mode
1: 10-bit address mode
Bit 10
DIR
0x0
rw
Master data transfer direction
0: Receive
1: Transmit
Bit 9: 0
SADDR[9: 0]
0x000
rw
Slave address sent by the master
In 7-bit address mode, BIT0 and BIT[9
:
8] don’t care.
11.7.3 Own address register1 (I2C_OADDR1)
Bit
Register
Reset value
Type
Description
Bit 31: 16 Reserved
0x0000
rw
Kept at its default value.
Bit 15
ADDR1EN
0x0
rw
Own Address 1 enable
0: Own Address 1 disabled
1: Own Address 1 enabled
Bit 14: 11 Reserved
0x0
res
Kept at its default value.
Bit 10
ADDR1MODE
0x0
rw
Own Address mode
0: 7-bit address mode