Datasheet

Table Of Contents
434
Atmel | SMART SAM D20 [DATASHEET]
Atmel-42129K–SAM-D20_datasheet–06/2014
27. TC – Timer/Counter
27.1 Overview
The TC consists of a counter, a prescaler, compare/capture channels and control logic. The counter can be set to count
events, or it can be configured to count clock pulses. The counter, together with the compare/capture channels, can be
configured to timestamp input events, allowing capture of frequency and pulse width. It can also perform waveform
generation, such as frequency generation and pulse-width modulation
(PWM).
27.2 Features
z Selectable configuration
z 8-, 16- or 32-bit TC, with compare/capture channels
z Waveform generation
z Frequency generation
z Single-slope pulse-width modulation
z Input capture
z Event capture
z Frequency capture
z Pulse-width capture
z One input event
z Interrupts/output events on:
z Counter overflow/underflow
z Compare match or capture
z Internal prescaler