beautypg.com

Timer 3 – mode 4: timer/counter, Timer 3 modulator/demodulator modes, Atar862-8 – Rainbow Electronics ATAR862-8 User Manual

Page 58

background image

58

ATAR862-8

4589B–4BMCU–02/03

Figure 56.

Externally Triggered Counter Reset and Start Combined with Single-action

Mode

Timer 3 – Mode 3:
Timer/Counter, Internal
Trigger Restart and Internal
Capture (with TOG2)

The counter is driven by an internal or external (T3I) clock source. The output toggle sig-
nal of Timer 2 resets the counter. The counter value before the reset is saved in the
capture register. If single-action mode is activated for one or both compare registers, the
trigger signal restarts the single actions. This mode can be used for frequency measure-
ments or as event counter with time gate (see combination mode 10).

Figure 57.

Event Counter with Time Gate

Timer 3 – Mode 4:
Timer/Counter

The timer runs as timer/counter in mode 1, but its output T3O is used as output for the
Timer 2 output signal.

Timer 3 – Mode 5:
Timer/Counter, External
Trigger Restart and External
Capture (with T3I Input)

The Timer 3 runs as timer/counter in mode 2, but its output T3O is used as output for the
Timer 2 output signal.

Timer 3 Modulator/Demodulator Modes

Timer 3 – Mode 6:
Carrier Frequency Burst
Modulation Controlled by
Timer 2 Output Toggle Flip-
Flop (M2)

The Timer 3 counter is driven by an internal or external clock source. Its compare- and
compare mode registers must be programmed to generate the carrier frequency via the
output toggle flip-flop. The output toggle flip-flop of Timer 2 is used to enable or disable
the Timer 3 output. Timer 2 can be driven by the toggle output signal of Timer 3 or any
other clock source (see combination mode 11).

0 0 0 0 0 0 0 0 1 2 3 4 5 6

Counter 3

T3EX

CM31

CM32

7 8 9 10 0 1 2 X X X 0 1 2 3 4 5 6 7 8 9 10 0 1 2 X X

T3R

X X

T3O

0 0 1 2 3 4 5 6 7 8 9 10

Counter 3

TOG2

T3CP-

Register

11

0 1

2

4

0 1

T3I

2

3

T3R

Capture value = 0

Capture value = 11

Capture

value = 4