ATAM893X-TKHYZ ATMEL [ATMEL Corporation], ATAM893X-TKHYZ Datasheet - Page 48

no-image

ATAM893X-TKHYZ

Manufacturer Part Number
ATAM893X-TKHYZ
Description
Flash Version for ATAR080, ATAR090/890 and ATAR092/892
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Figure 5-25. Counter 3 Stage
5.3.3.2
48
CL3
ATAM893-D
Timer/Counter Modes
Compare register 1
Compare register 2
8-bit comparator
Capture register
8-bit counter
A special feature of this timer is the trigger- and single-action mode. In trigger mode, the counter
starts counting triggered by the external signal at its input. In single-action mode, the counter
counts only one time up to the programmed compare match event. These modes are very useful
for modulation, demodulation, signal generation, signal measurement and phase control. For
phase control, the timer input is protected against negative voltages and has zero-cross detec-
tion capability.
Timer 3 has a modulator output stage and input functions for demodulation. As modulator it
works together with Timer 2 or the serial interface. When the shift register is used for modulation
the data shifted out of the register is encoded bit-wise. In all demodulation modes, the decoded
data bits are shifted automatically into the shift register.
Timer 3 has 6 timer modes and 6 modulator/demodulator modes. The mode is set via the Timer
3 Mode Register T3M.
In all these modes, the compare register and the compare-mode register belonging to it define
the counter value for a compare match and the action of a compare match. A match of the cur-
rent counter value with the content of one compare register triggers a counter reset, a Timer 3
interrupt or the toggling of the output flip-flop. The compare mode registers T3M1 and T3M2
contain the mask bits for enabling or disabling these actions.
The counter can also be enabled to execute single actions with one or both compare registers. If
this mode is set the corresponding compare match event is generated only once after the
counter starts.
TOG2
RES
Control
Control
T3I
C32
C31
NQ
NQ
D
D
T3SM1
T3SM2
CM31
CM32
T3RM1
T3RM2
T3EIM
T3IM1
T3IM2
T3TM1
T3TM2
: T3M1
: T3M2
INT5
TOG3
4680C–4BMCU–01/05

Related parts for ATAM893X-TKHYZ