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

no-image

AT91SAM7S32-AI

Manufacturer Part Number
AT91SAM7S32-AI
Description
AT91 ARM Thumb-based Microcontrollers
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
WAVSEL = 01
Figure 157. WAVSEL = 01 Without Trigger
Figure 158. WAVSEL = 01 With Trigger
6071A–ATARM–28-Oct-04
Waveform Examples
Waveform Examples
0xFFFF
0xFFFF
Counter Value
R
R
R
TIOB
TIOA
Counter Value
TIOB
TIOA
R
R
R
C
B
A
C
B
A
When WAVSEL = 01, the value of TC_CV is incremented from 0 to 0xFFFF. Once 0xFFFF is
reached, the value of TC_CV is decremented to 0, then re-incremented to 0xFFFF and so on.
See Figure 157.
A trigger such as an external event or a software trigger can modify TC_CV at any time. If a
trigger occurs while TC_CV is incrementing, TC_CV then decrements. If a trigger is received
while TC_CV is decrementing, TC_CV then increments. See Figure 158.
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) and/or disable the
counter clock (CPCDIS = 1).
Counter decremented by compare match with 0xFFFF
Counter decremented by compare match with 0xFFFF
AT91SAM7S32 Preliminary
Counter decremented
by trigger
Counter incremented
by trigger
Time
Time
351

Related parts for AT91SAM7S32-AI