AT32WB415
Series Reference Manual
2022.04.13
Page 128
Ver 2.00
11.5.1 Control register1 (I2C_CTRL1)
Bit
Register
Reset value
Type
Description
Bit 15
RESET
0x0
rw
I
2
C peripheral reset
0: I
2
C peripheral is not at reset state.
1: I
2
C peripheral is at reset state.
Note: This bit can be used only when the BUSYF bit is “1”,
and no Stop condition is detected on the bus.
Bit 14
Reserved
0x0
resd
Kept at its default value.
Bit 13
SMBALERT
0x0
rw
SMBus alert pin set
This bit is set or cleared by software. It is cleared by
hardware when I2CEN=0.
0: SMBus alert pin high.
1: SMBus alert pin low.
Bit 12
PECTEN
0x0
rw
Request PEC transfer enable
This bit is set or cleared by software. It is cleared by
hardware after PECTEN is sent, or under Start/Stop
condition.
0: No PEC transfer
1: PEC transfer
Bit 11
MACKCTRL
0x0
rw
Master receive mode acknowledge control
0: ACKEN bit controls ACK of the current byte being
transferred
1: ACKEN bit controls ACK of the next byte to be
transferred.
This bit is used only when the number of bytes to receive
is equal to 2 so as to ensure that the host responds to ACK
in time.
Bit 10
ACKEN
0x0
rw
Acknowledge enable
This bit is set or cleared by software.
0: Disabled (no acknowldge sent)
1: Enabled (acknowledge sent)
Bit 9
GENSTOP
0x0
rw
Generate stop condition
This bit is set or cleared by software. It is cleared when a
Stop condition is detected. It is set by hardware when a
timeout error is detected.
0: No Stop condition is generated.
1: Stop condition is generate.
The salve releases the SCL and SDA lines when this bit is
set in slave mode.
Bit 8
GENSTART
0x0
rw
Generate start condition
This bit is set or cleared by software. It is cleared when a
Start condition is sent.
0: No Start condition is generated.
1: Start condition is generated.
Bit 7
STRETCH
0x0
rw
Clock stretching mode
0: Enabled
1: Disabled
Bit 6
GCAEN
0x0
rw
General call address enable
0: Enabled
1: Disabled
Bit 5
PECEN
0x0
rw
PEC calculation enable
0: Disabled
1: Enabled
Bit 4
ARPEN
0x0
rw
SMBus address resolution protocol enable