Timer Registers
15-40
ADSP-BF537 Blackfin Processor Hardware Reference
In
PWM_OUT
mode, a write of a 1 to
TIMER_DISABLE
does not stop the corre-
sponding timer immediately. Rather, the timer continues running and
stops cleanly at the end of the current period (if
PERIOD_CNT = 1
) or pulse
(if
PERIOD_CNT = 0
). If necessary, the processor can force a timer in
PWM_OUT
mode to stop immediately by first writing a 1 to the correspond-
ing bit in
TIMER_DISABLE
, and then writing a 1 to the corresponding
TRUNx
bit in
TIMER_STATUS
. See
“Stopping the Timer in PWM_OUT Mode” on
.
In
WDTH_CAP
and
EXT_CLK
modes, a write of a 1 to
TIMER_DISABLE
stops the
corresponding timer immediately.
TIMER_STATUS Register
The
TIMER_STATUS
register indicates the status of the timers and is used to
check the status of eight timers with a single read. The
TIMER_STATUS
reg-
ister, shown in
, reports the status of timer 0 through timer
7. Status bits are sticky and W1C. The
TRUNx
bits can clear themselves,
Figure 15-18. Timer Disable Register
0
0
0
0
15 14
13 12
11 10
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
Reset = 0x0000
0
Timer Disable Register (TIMER_DISABLE)
TIMDIS0 (Timer0 Disable)
TIMDIS1 (Timer1 Disable)
1 - Disable timer
Read as 1 if this timer is enabled
1 - Disable timer
Read as 1 if this timer is enabled
TIMDIS2 (Timer2 Disable)
1 - Disable timer
Read as 1 if this timer is enabled
0xFFC0 0684
TIMDIS3 (Timer3 Disable)
1 - Disable timer
Read as 1 if this timer is enabled
TIMDIS7 (Timer7 Disable)
TIMDIS6 (Timer6 Disable)
1 - Disable timer
Read as 1 if this timer is enabled
1 - Disable timer
Read as 1 if this timer is enabled
TIMDIS5 (Timer5 Disable)
1 - Disable timer
Read as 1 if this timer is enabled
TIMDIS4 (Timer4 Disable)
1 - Disable timer
Read as 1 if this timer is enabled
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 ...