47.7.22 Channel y Compare/Capture Buffer Value

Note: This register must be written with 32-bit accesses only (no 8-bit or 16 bit writes).

CCBUFy is copied into CCy at TCC update time.

Table 47-31. 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: CCBUFy
Offset: 0x70 + y*0x04 [y=0..5]
Reset: 0x00000000
Property: Write-Synchronized, Read-Synchronized

Bit 3130292827262524 
 CCBUF[25:18] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
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 31:6 – CCBUF[25:0] Channel y Compare/Capture Buffer Value

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

Note: When the TCC instance is a 16-bit timer/counter, the excess bits are read zero.
Note:
  1. This bit field occupies the MSB of the register, [31:m]. m is dependent on the Resolution bit in the Control A register (CTRLA.RESOLUTION(CTRLA <6:5>)):
    CTRLA.RESOLUTION(CTRLA <6:5>)Bits [31:m]
    0x0 - NONE31:0
    0x1 - DITH431:4
    0x2 - DITH531:5
    0x3 - DITH631:6 (depicted)

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

These bits represent the CCy.DITHER bits buffer. When the double buffering is enable, CCBUFy.DITHERBUF bits value is copied to the CCy.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 <6:5>)):
CTRLA.RESOLUTION(CTRLA <6:5>)Bits [n:0]
0x0 - NONE-
0x1 - DITH43:0
0x2 - DITH54:0
0x3 - DITH65:0 (depicted)