Atmel ARM-Based Evaluation Kit for SAM4S16C, 32-Bit ARM® Cortex® Microcontroller ATSAM4S-WPIR-RD ATSAM4S-WPIR-RD Data Sheet

Product codes
ATSAM4S-WPIR-RD
Page of 1231
SAM4S Series [DATASHEET]
Atmel-11100G-ATARM-SAM4S-Datasheet_27-May-14
840
37.6.11.2WAVSEL = 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 
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 
programmed correctly. See 
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 37-9.
WAVSEL = 10 without Trigger
Figure 37-10. WAVSEL = 10 with Trigger
Time
Counter Value
R
C
R
B
R
A
TIOB
TIOA
Counter cleared by compare match with RC
Waveform Examples
2
n
-1
(n = counter size)
Time
Counter Value
R
C
R
B
R
A
TIOB
TIOA
Counter cleared by compare match with RC
Waveform Examples
Counter cleared by trigger
2
n
-1
(n = counter size)