TWIHS_FILTR

TWIHS Filter Register

TWIHS digital input filtering follows a majority decision based on three samples from SDA/SCL lines at peripheral clock frequency.

  0x44 32 Read/Write 0x00000000  

TWIHS Filter Register

Bit  31 30 29 28 27 26 25 24  
                   
Access                   
Reset                   
Bit  23 22 21 20 19 18 17 16  
                   
Access                   
Reset                   
Bit  15 14 13 12 11 10 9 8  
            THRES[2:0]  
Access                   
Reset            0 0 0  
Bit  7 6 5 4 3 2 1 0  
            PADFCFG PADFEN FILT  
Access                   
Reset            0 0 0  

Bit 0 – FILT: RX Digital Filter

RX Digital Filter

ValueDescription
0

No filtering applied on TWIHS inputs.

1

TWIHS input filtering is active (only in Standard and Fast modes)

Bit 1 – PADFEN: PAD Filter Enable

PAD Filter Enable

ValueDescription
0

PAD analog filter is disabled.

1

PAD analog filter is enabled. (The analog filter must be enabled if High-speed mode is enabled.)

Bit 2 – PADFCFG: PAD Filter Config

PAD Filter Config

See the electrical characteristics section for filter configuration details.

Bits 10:8 – THRES[2:0]: Digital Filter Threshold

Digital Filter Threshold

ValueDescription
0

No filtering applied on TWIHS inputs.

1–7

Maximum pulse width of spikes to be suppressed by the input filter, defined in peripheral clock cycles.