ADSP-BF50x Blackfin Processor Hardware Reference
10-17
General-Purpose Timers
The
TOGGLE_HI
mode enables control of the timing of both the asserting
and deasserting edges of the output waveform produced. The phase
between the asserting edges of two timer outputs is programmable. The
effective state of the
PULSE_HI
bit alternates every period. The adjacent
active low and active high pulses, taken together, create two halves of a
symmetrical rectangular waveform. The effective waveform is active high
when
PULSE_HI
is set and active low when
PULSE_HI
is cleared. The value
of the
TOGGLE_HI
bit has no effect unless the mode is
PWM_OUT
and
PERIOD_CNT
= 1.
In
TOGGLE_HI
mode, when
PULSE_HI
is set, an active low pulse is generated
in the first, third, and all odd-numbered periods, and an active high pulse
is generated in the second, fourth, and all even-numbered periods. When
PULSE_HI
is cleared, an active high pulse is generated in the first, third,
and all odd-numbered periods, and an active low pulse is generated in the
second, fourth, and all even-numbered periods.
The deasserted state at the end of one period matches the asserted state at
the beginning of the next period, so the output waveform only transitions
when Count = Pulse Width. The net result is an output waveform pulse
that repeats every two counter periods and is centered around the end of
the first period (or the start of the second period).
Figure 10-6. Example of Timers With Pulses Aligned to Asserting Edge
TMR0
TMR1
PERIOD 1
TMR2
TOGGLE_HI = 0
PULSE_HI = 1
TOGGLE_HI = 0
PULSE_HI = 1
TOGGLE_HI = 0
PULSE_HI = 1
TIMER
ENABLE
ACTIVE
HIGH
ACTIVE
HIGH
ACTIVE
HIGH
Summary of Contents for EZ-KIT Lite ADSP-BF506F
Page 50: ...Contents l ADSP BF50x Blackfin Processor Hardware Reference ...
Page 92: ...Development Tools 1 30 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 110: ...Interface Overview 3 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 236: ...Internal Flash Memory Control Registers 6 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 650: ...Programming Examples 15 56 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 804: ...Programming Examples 17 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1194: ...Programming Examples 24 90 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1256: ...ACM Registers A 50 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1264: ...Boundary Scan Architecture B 8 ADSP BF50x Blackfin Processor Hardware Reference ...