
ADSP-BF59x Blackfin Processor Hardware Reference
8-13
General-Purpose Timers
The pulse width is defined by the
TIMER_WIDTH
register, and the
TIMER_PERIOD
register is not used. See
Figure 8-4
.
At the end of the pulse, the timer interrupt latch bit
TIMIL
is set, and the
timer is stopped automatically. No writes to the
TIMER_DISABLE
register
are required in this mode. If the
PULSE_HI
bit is set, an active high pulse is
generated on the
TMR
pin. If
PULSE_HI
is not set, the pulse is active low.
The pulse width may be programmed to any value from 1 to (2
32
-1),
inclusive.
Pulse Width Modulation Waveform Generation
If the
PERIOD_CNT
bit is set, the internally clocked timer generates rectan-
gular signals with well-defined period and duty cycle (PWM patterns).
This mode also generates periodic interrupts for real-time signal
processing.
Figure 8-4. Timer Enable and Automatic Disable Timing
EXAMPLE TIMER ENABLE AND AUTOMATIC DISABLE TIMING
(PWM_OUT MODE, PERIOD_CNT = 0)
3
2
1
X
3
SCLK
TIMER_WIDTH
TIMER_COUNTER
TIMEN
TRUN
TMR, PULSE_HI = 0
TMR, PULSE_HI = 1
W1S TO
TIMER_ENABLE
Содержание ADSP-BF59x Blackfin
Страница 64: ...Development Tools 1 22 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 74: ...Processor Specific MMRs 2 10 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 204: ...Unique Information for the ADSP BF59x Processor 5 104 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 244: ...Programming Examples 6 40 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 345: ...ADSP BF59x Blackfin Processor Hardware Reference 9 9 Core Timer Unique Information for the ADSP BF59x Processor None...
Страница 346: ...Unique Information for the ADSP BF59x Processor 9 10 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 398: ...Unique Information for the ADSP BF59x Processor 11 42 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 622: ...Unique Information for the ADSP BF59x Processor 15 38 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 700: ...Programming Examples 16 78 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 738: ...Boundary Scan Architecture B 8 ADSP BF59x Blackfin Processor Hardware Reference...