Channel x Compare/Capture Buffer Value

CCBx is copied into CCx at TCC update time

Name:
CCBn
Offset:
0x70 + n*0x04 [n=0..3]
Reset:
0x00000000
Access:
Write-Synchronized, Read-Synchronized
Bit3130292827262524
Access
Reset
Bit2322212019181716
CCB[17:10]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000
Bit15141312111098
CCB[9:2]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000
Bit76543210
CCB[1:0]DITHERB[5:0]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000

Bits 23:6 – CCB[17:0]: Channel x Compare/Capture Buffer Value

Channel x Compare/Capture Buffer Value

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 CCBVx status bit.

Note: When the TCC is configured as 16-bit timer/counter, the excess bits are read zero.
Note: This bit field occupies the MSB of the register, [23:m]. m is dependent on the Resolution bit in the Control A register (CTRLA.RESOLUTION):
CTRLA.RESOLUTION Bits [23:m]
0x0 - NONE 23:0
0x1 - DITH4 23:4
0x2 - DITH5 23:5
0x3 - DITH6 23:6 (depicted)

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

Dithering Buffer Cycle Number

These bits represent the CCx.DITHER bits buffer. When the double buffering is enable, 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.RESOLUTION Bits [n:0]
0x0 - NONE -
0x1 - DITH4 3:0
0x2 - DITH5 4:0
0x3 - DITH6 5:0 (depicted)