36.8.21. Channel x Compare/Capture Buffer Value
CCBUFx is copied into CCx at TCC update time
Name:
CCBUFn
Offset:
0x70 + n*0x04 [n=0..3]
Reset:
0x00000000
Property:
Write-Synchronized, Read-Synchronized
Bit
31
30
29
28
27
26
25
24
CCBUF[25:18]
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Bit
23
22
21
20
19
18
17
16
CCBUF[17:10]
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Bit
15
14
13
12
11
10
9
8
CCBUF[9:2]
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
CCBUF[1:0]
DITHERBUF[5:0]
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Bits 31:6 – CCBUF[25:0]: 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 CCBUFVx status bit.
Note:
When the TCC is configured as 16- or 24-bit timer/counter, the excess bits are read zero.
Note:
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.RESOLUTION
Bits [31:m]
0x0 - NONE
31:0
0x1 - DITH4
31:4
0x2 - DITH5
31:5
0x3 - DITH6
31: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 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):
Atmel SAM L22G / L22J / L22N [DATASHEET]
Atmel-42402E-SAM L22G / L22J / L22N_Datasheet_Complete-07/2016
875