23.6.17 Compare/Capture Channel n

The Compare/Capture Channel n (CCn) register holds the 16-bit CCn value. The register has two functions, depending on the mode of operation.

For capture operation, this register represents the second buffer level and access point for the CPU and DMA.

For compare operation, this register is continuously compared to the counter value. Normally, the output form the comparator is then used for generating waveforms.

The CCn register is updated with the buffer value from its corresponding Compare/Capture Channel n Buffer (CCBUFn) register when an UPDATE condition occurs.

Note: In match frequency operation, the CC0 register controls the counter period.
Note: This register is write-synchronized. The CCn Synchronization Busy bit of the Synchronization Busy register (SYNCBUSY.CCn) must be checked to ensure that the CCn register synchronization is complete.
Name: CC[n]
Offset: 0x44 + n*0x04 [n=0..3]
Reset: 0x00000000
Property: Write-Synchronized

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
 CC[15:8] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 CC[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 15:0 – CC[15:0] Compare/Capture Channel Value

This bit field holds the value of the Compare/Capture Channel.