Inter-integrated circuit (I
2
C) interface RM0091
520/742 Doc ID 018940 Rev 1
Bit 20 SMBHEN: SMBus Host address enable
0: Host address disabled. Address 0b0001000x is NACKed.
1: Host address enabled. Address 0b0001000x is ACKed.
Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to ‘0’.
Please refer to Section 23.3: I2C implementation.
Bit 19 GCEN: General call enable
0: General call disabled. Address 0b00000000 is NACKed.
1: General call enabled. Address 0b00000000 is ACKed.
Bit 18 WUPEN: Wakeup from STOP enable
0: Wakeup from STOP disable.
1: Wakeup from STOP enable.
Note: If the Wakeup from STOP feature is not supported, this bit is reserved and forced by
hardware to ‘0’. Please refer to Section 23.3: I2C implementation.
Bit 17 NOSTRETCH: Clock stretching disable
This bit is used to disable clock stretching in slave mode.
0: Clock stretching enabled
1: Clock stretching disabled
Note: This bit can only be programmed when the I2C is disabled (PE = 0).
Bit 16 SBC: Slave byte control
This bit is used to enable hardware byte control in slave mode.
0: Slave byte control disabled
1: Slave byte control enabled
Bit 15 RXDMAEN: DMA reception requests enable
0: DMA mode disabled for reception
1: DMA mode enabled for reception
Bit 14 TXDMAEN: DMA transmission requests enable
0: DMA mode disabled for transmission
1: DMA mode enabled for transmission
Bit 13 SWRST: Software reset
When set, the I2C SCL and SDA lines are released. Internal state machines and all status
bits are put back to their reset value. The content of configuration control bits is kept.
Note: This bit is write only, and is always read at ‘0’. Writing ‘0’ has no effect.
Bit 12 ANFOFF: Analog noise filter OFF
0: Analog noise filter enabled
1: Analog noise filter disabled
Note: This bit can only be programmed when the I2C is disabled (PE = 0).
Bits 11:8 DNF[3:0]: Digital noise filter
These bits are used to configure the digital noise filter on SDA and SCL input. The digital
filter will filter spikes with a length of up to DNF[3:0] * t
I2CCLK
0000: Digital filter disabled
0001: Digital filter enabled and filtering capability up to 1 t
I2CCLK
...
1111: digital filter enabled and filtering capability up to15 t
I2CCLK
Note: If the analog filter is also enabled, the digital filter is added to the analog filter.
This filter can only be programmed when the I2C is disabled (PE = 0).