The compare channels can be used for waveform generation on the corresponding port pins. To make the waveform visible on the connected port pin, the following requirements must be fulfilled:
      
         - 1.A waveform generation mode must be
            selected by writing the WGMODE bit field in TCA.CTRLB.
 
         - 2.The TCA is counting clock tick, not
            Events (CNTEI=0 in TCA.EVCTRL)
 
         - 3.The compare channels used must be
            enabled (CMPnEN=1 in TCA.CTRLB). This will override the corresponding PORT pin output
            register. An alternative pin can be selected by writing to the respective TCA Waveform
            Output n bit (TCA0n) in the Control C register of the Port Multiplexer
            (PORTMUX.CTRLC).
 
         - 4.The direction for the associated Port
            pin n must be configured as output (PORT.DIR[n]=1).
 
         - 5.Optional: Enable inverted waveform
            output for the associated Port pin n (INVEN=1 in PORT.PINn).