30.11.12 Debouncer Prescaler

Table 30-13. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: DPRESCALER
Offset: 0x34
Reset: 0x00000000
Property: RW

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
        TICKON 
Access RW 
Reset 0 
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
     STATESPRESCALER[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.
ValueNameDescription
0CLK_GCLK_EICBounce sampler is using GCLK_EIC
1CLK_LFREQBounce sampler is using Low Frequency Clock

Bit 3 – STATES Debouncer number of states

ValueNameDescription
0LFREQ33 low frequency samples
1LFREQ77 low frequency samples

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

ValueNameDescription
0DIV2EIC clock divided by 2
1DIV4EIC clock divided by 4
2DIV8EIC clock divided by 8
3DIV16EIC clock divided by 16
4DIV32EIC clock divided by 32
5DIV64EIC clock divided by 64
6DIV128EIC clock divided by 128
7DIV256EIC clock divided by 256