Datasheet

Table Of Contents
48. TC – Timer/Counter
48.1 Overview
There are up to eight TC peripheral instances.
Each TC consists of a counter, a prescaler, compare/capture channels and control logic. The counter can
be set to count events, or clock pulses. The counter, together with the compare/capture channels, can be
configured to timestamp input events or IO pin edges, allowing for capturing of frequency and/or pulse
width.
A TC can also perform waveform generation, such as frequency generation and pulse-width modulation.
48.2 Features
Selectable configuration
8-, 16- or 32-bit TC operation, with compare/capture channels
2 compare/capture channels (CC) with:
Double buffered timer period setting (in 8-bit mode only)
Double buffered compare channel
Waveform generation
Frequency generation
Single-slope pulse-width modulation
Input capture
Event / IO pin edge capture
Frequency capture
Pulse-width capture
Time-stamp capture
Minimum and maximum capture
One input event
Interrupts/output events on:
Counter overflow/underflow
Compare match or capture
Internal prescaler
DMA support
SAM D5x/E5x Family Data Sheet
TC – Timer/Counter
© 2019 Microchip Technology Inc.
Datasheet
DS60001507E-page 1710