22.4.2.5 Compare Operations
By default, the Compare/Capture channel is configured for compare operations.
When using the TC and the Compare/Capture Value registers (CC[n]) for compare operations, the counter value is continuously compared to the values in the CC[n] registers. This functionality can be used for timer or for waveform operation.
The Channel n Compare Buffer (CCBUF[n]) registers provide double buffering capability. The double buffering synchronizes the update of the CC[n] register with the buffer value at the UPDATE condition or a forced update command (CTRLBSET.CMD = 0x3,UPDATE). For further details, refer to Double Buffering. This synchronization prevents the occurrence of odd-length, non-symmetrical pulses and ensures glitch-free output.
