at91rm3400 ATMEL Corporation, at91rm3400 Datasheet - Page 354

no-image

at91rm3400

Manufacturer Part Number
at91rm3400
Description
Atmel Advanced At91 Arm Microcontroller
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at91rm3400-AU-002
Manufacturer:
Atmel
Quantity:
10 000
WAVSEL = 01
Figure 147. WAVSEL = 01 Without Trigger
Figure 148. WAVSEL = 01 With Trigger
354
Waveform Examples
Waveform Examples
0xFFFF
0xFFFF
AT91RM3400
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 147.
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 148.
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
Counter decremented
by trigger
Counter incremented
by trigger
1790A–ATARM–11/03
Time
Time

Related parts for at91rm3400