GD32F403xx User Manual
446
byte
1: ACKEN bit specifies whether to send ACK or NACK for the next byte that is to
be received, PECTRANS bit indicates the next byte that is to be received is a PEC
byte
10
ACKEN
ACK enable
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 is 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 a START
condition is detected or I2CEN=0.
0: START will not be sent
1: START will be sent
7
DISSTRC
SCL stretching
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 respond to a General Call
1: Slave will respond to a General Call
5
PECEN
PEC calculation enable
0: PEC calculation disable
1: PEC calculation enable
4
ARPEN
ARP protocol enable
0: ARP is disabled
1: ARP is enabled
3
SMBSEL
SMBus type selection
0: Device
1: Host
2
Reserved
Must be kept at reset value.
1
SMBEN
SMBus/I2C mode switch
0: I2C mode
Содержание 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 ...