ADSP-BF537 Blackfin Processor Hardware Reference
15-25
General-Purpose Timers
If necessary, the processor can force a timer in
PWM_OUT
mode to abort
immediately. Do this by first writing a 1 to the corresponding bit in
TIMER_DISABLE
, and then writing a 1 to the corresponding
TRUNx
bit in
TIMER_STATUS
. This stops the timer whether the pending stop was waiting
for the end of the current period (
PERIOD_CNT = 1
) or the end of the cur-
rent pulse width (
PERIOD_CNT = 0
). This feature may be used to regain
immediate control of a timer during an error recovery sequence.
a
Use this feature carefully, because it may corrupt the PWM pattern
generated at the
TMRx
pin.
When timers are disabled, the timer counter registers retain their state;
when a timer is re-enabled, the timer counter is reinitialized based on the
operating mode. The timer counter registers are read-only. Software can-
not overwrite or preset the timer counter value directly.
Figure 15-10. Timer Disable Timing
7
EXAMPLE TIMER DISABLE TIMING (PWM_OUT MODE, PERIOD_CNT = 1)
5
7
5
7
5
7
1
2
3
5
6
7
4
W1C TO
TIMER_DISABLE
SCLK
TIMERx_PERIOD
TIMERx_WIDTH
TIMERx_COUNTER
TIMENx
TRUNx
TMRx, PULSE_HI = 0
TMRx, PULSE_HI = 1
Summary of Contents for Blackfin ADSP-BF537
Page 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Page 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...