24.2 Module Overview

The Timer/Counter (TC) module provides a set of timing and counting related functionality, such as the generation of periodic waveforms, the capturing of a periodic waveform's frequency/duty cycle, and software timekeeping for periodic operations. TC modules can be configured to use an 8-, 16-, or 32-bit counter size.

This TC module for the SAM is capable of the following functions:

  • Generation of PWM signals

  • Generation of timestamps for events

  • General time counting

  • Waveform period capture

  • Waveform frequency capture

Figure 24-1 shows the overview of the TC module design.

Figure 24-1. Basic Overview of the TC Module