29.7.13 Debouncer Prescaler

Note:
  1. This register is write protected and can only be written when CTRLA.ENABLE = 0.
  2. Access to this register is limited to 32-bit width. Byte level access is not allowed.
  3. Reserved bits must always be written as ‘0’.
Table 29-15. 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: PAC Write-Protection, Enable-Protected

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
        TICKON 
Access R/W 
Reset 0 
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
 STATES1PRESCALER1[2:0]STATES0PRESCALER0[2:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

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.

Bits 3, 7 – STATESn Debouncer Number of States [n=0,1]

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

Bits 0:2, 4:6 – PRESCALERn Debouncer Prescaler [n=0,1]

These bits select the debouncer low frequency clock for pins EXTINT[7+(8n):8n].
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