GD32VF103 User Manual
372
10
ACKEN
Whether or not to send an ACK
This bit is set and cleared by software and cleared by hardware when I2CEN=0
0: ACK will not be sent
1: ACK will be sent
9
STOP
Generate a STOP condition on I2C bus
This bit is set and cleared by software and set by hardware when SMBUs timeout
and cleared by hardware when STOP condition detected.
0: STOP will not be sent
1: STOP will be sent
8
START
Generate a START condition on I2C bus
This bit is set and cleared by software and cleared by hardware when START
condition detected or I2CEN=0
0: START will not be sent
1: START will be sent
7
SS
Whether to stretch SCL low when data is not ready in slave mode.
This bit is set and cleared by software.
0: SCL Stretching is enabled
1: SCL Stretching is disabled
6
GCEN
Whether or not to response to a General Call (0x00)
0: Slave won’t response to a General Call
1: Slave will response to a General Call
5
PECEN
PEC Calculation Switch
0: PEC Calculation off
1: PEC Calculation on
4
ARPEN
ARP protocol in SMBus switch
0: ARP is disabled
1: ARP is enabled
3
SMBSEL
SMBusType Selection
0: Device
1: Host
2
Reserved
Must keep the reset value.
1
SMBEN
SMBus/I2C mode switch
0: I2C mode
1: SMBus mode
0
I2CEN
I2C peripheral enable
0: I2C is disabled
1: I2C is enabled