English
Language : 

SAM4L Datasheet, PDF (807/1185 Pages) ATMEL Corporation – ATSAM ARM-based Flash MCU
ATSAM4L4/L2
Figure 30-6. WAVSEL= 0 With Trigger
Counter Value
0xFFFF
RC
RB
RA
Counter cleared by compare match with 0xFFFF
Counter cleared by trigger
Waveform Examples
TIOB
Time
TIOA
30.6.3.3
WAVSEL = 2
When CMRn.WAVSEL is two, the value of CVn is incremented from zero to the value of RC,
then automatically reset on a RC Compare. Once the value of CVn has been reset, it is then
incremented and so on. See Figure 30-7 on page 808.
It is important to note that CVn can be reset at any time by an external event or a software trig-
ger if both are programmed correctly. See Figure 30-8 on page 808.
In addition, RC Compare can stop the counter clock (CMRn.CPCSTOP) and/or disable the
counter clock (CMRn.CPCDIS = 1).
42023C–SAM–02/2013
807