Atmel Xplained Pro Evaluation Kit ATSAMD20-XPRO ATSAMD20-XPRO Ficha De Dados
![Atmel](https://files.manualsbrain.com/attachments/0369829915bda09f9c2e00fb805a7753579683b5/common/fit/150/50/8d2bf08978ec3e5bc63f4343ac5e91ce8d0e40045619fa520d910d64af8f/brand_logo.png)
Códigos do produto
ATSAMD20-XPRO
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
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