English
Language : 

SAM7S256_14 Datasheet, PDF (458/775 Pages) ATMEL Corporation – ARM-based Flash MCU
33.5.11.2 WAVSEL = 10
When WAVSEL = 10, the value of TC_CV is incremented from 0 to the value of RC, then automatically reset on a
RC Compare. Once the value of TC_CV has been reset, it is then incremented and so on. See Figure 33-9.
It is important to note that TC_CV can be reset at any time by an external event or a software trigger if both are pro-
grammed correctly. See Figure 33-10.
In addition, RC Compare can stop the counter clock (CPCSTOP = 1 in TC_CMR) and/or disable the counter clock
(CPCDIS = 1 in TC_CMR).
Figure 33-9. WAVSEL = 10 Without Trigger
Counter Value
0xFFFF
Counter cleared by compare match with RC
RC
RB
RA
Waveform Examples
TIOB
Time
TIOA
Figure 33-10. WAVSEL = 10 With Trigger
Counter Value
0xFFFF
Counter cleared by compare match with RC
RC
Counter cleared by trigger
RB
RA
Waveform Examples
TIOB
Time
TIOA
SAM7S Series [DATASHEET]
6175M–ATARM–26-Oct-12
458