AT91SAM7S32-AI ATMEL [ATMEL Corporation], AT91SAM7S32-AI Datasheet - Page 349

no-image

AT91SAM7S32-AI

Manufacturer Part Number
AT91SAM7S32-AI
Description
AT91 ARM Thumb-based Microcontrollers
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
WAVSEL = 00
6071A–ATARM–28-Oct-04
When WAVSEL = 00, the value of TC_CV is incremented from 0 to 0xFFFF. Once 0xFFFF
has been reached, the value of TC_CV is reset. Incrementation of TC_CV starts again and the
cycle continues. See Figure 153.
An external event trigger or a software trigger can reset the value of TC_CV. It is important to
note that the trigger may occur at any time. See Figure 154.
RC Compare cannot be programmed to generate a trigger in this configuration. At the same
time, RC Compare can stop the counter clock (CPCSTOP = 1 in TC_CMR) and/or disable the
counter clock (CPCDIS = 1 in TC_CMR).
Figure 153. WAVSEL= 00 without trigger
Figure 154. WAVSEL= 00 with trigger
Waveform Examples
0xFFFF
Counter Value
R
R
R
TIOB
TIOA
C
B
A
Waveform Examples
0xFFFF
Counter Value
R
R
R
TIOB
TIOA
C
B
A
AT91SAM7S32 Preliminary
Counter cleared by compare match with 0xFFFF
Counter cleared by compare match with 0xFFFF
Counter cleared by trigger
Time
Time
349

Related parts for AT91SAM7S32-AI