2.3.2 Configure TC

The two TCs used as inputs for LUT0 are configured in configure_tc_def() and configure_tc_alt(). The default TC is configured to generate the carrier frequency while the alternative TC is used as the modular signal. Both TCs are configured as 8 bit counters with PWM generation and events enabled. The default TC is configured to generate event on overflow while the alternative TC is configured to generate event on overflow and to increment counter on incoming event. For comparison of CCL output signal and the TC waveform outputs, both TCs are multiplexed to I/O pins.