41.8.21 Channel x Compare/Capture Buffer Value

CCBUFx is copied into CCx at TCC update time.

Name: CCBUFx
Offset: 0x70 + x*0x04 [x=0..5]
Reset: 0x00000000
Property: Write-Synchronized, Read-Synchronized

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
 CCBUF[17:10] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 CCBUF[9:2] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 CCBUF[1:0]DITHERBUF[5:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 23:6 – CCBUF[17:0] Channel x Compare/Capture Buffer Value [x=0..5]

These bits hold the value of the Channel x Compare/Capture Buffer Value register. The register serves as the buffer for the associated compare or capture registers (CCx). Accessing this register using the CPU or DMA will affect the corresponding CCBUFVx status bit.

Note:
  1. When the TCC is configured as a 16-bit timer/counter, the excess bits are read as ‘0’.
  2. This bit field occupies the MSB of the register, [23:m]. m is dependent on the Resolution bits in the Control A register (CTRLA.RESOLUTION):
    CTRLA.RESOLUTIONBits [23:m]
    0x0 - NONE23:0
    0x1 - DITH423:4
    0x2 - DITH523:5
    0x3 - DITH623:6 (depicted)

Bits 5:0 – DITHERBUF[5:0] Dithering Buffer Cycle Number

These bits represent the CCx.DITHER bits buffer. When the double buffering is enabled, the DITHERBUF bits value is copied to the CCx.DITHER bits on an UPDATE condition.
Note: This bit field consists of the n LSB of the register. n is dependent on the value of the Resolution bits in the Control A register (CTRLA.RESOLUTION):
CTRLA.RESOLUTIONBits [n:0]
0x0 - NONE
0x1 - DITH43:0
0x2 - DITH54:0
0x3 - DITH65:0 (depicted)