27.8.12 Debouncer Prescaler

Name: DPRESCALER
Offset: 0x34
Reset: 0x00000000
Property: PAC Write-Protection, Enable-Protected

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
        TICKON 
Access RW 
Reset 0 
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
     STATES0PRESCALER0[2:0] 
Access RWRWRWRW 
Reset 0000 

Bit 16 – TICKON Pin Sampler frequency selection

This bit selects the clock used for the sampling of bounce during transition detection.
ValueDescription
0The bounce sampler is using GCLK_EIC.
1The bounce sampler is using the low frequency clock.

Bit 3 – STATES0 Debouncer number of states

This bit selects the number of samples by the debouncer low frequency clock needed to validate a transition from the current pin state to the next pin state in synchronous debouncing mode for pins EXTINT[3:0].
ValueDescription
0The number of low frequency samples is 3.
1The number of low frequency samples is 7.

Bits 2:0 – PRESCALER0[2:0] Debouncer Prescaler

These bits select the debouncer low frequency clock for pins EXTINT[3:0].
ValueNameDescription
0x0F/2EIC clock divided by 2
0x1F/4EIC clock divided by 4
0x2F/8EIC clock divided by 8
0x3F/16EIC clock divided by 16
0x4F/32EIC clock divided by 32
0x5F/64EIC clock divided by 64
0x6F/128EIC clock divided by 128
0x7F/256EIC clock divided by 256