![Analog Devices Blackfin ADSP-BF537 Скачать руководство пользователя страница 924](http://html.mh-extra.com/html/analog-devices/blackfin-adsp-bf537/blackfin-adsp-bf537_hardware-reference-manual_2939700924.webp)
Timer Registers
15-48
ADSP-BF537 Blackfin Processor Hardware Reference
the values for the timer period and/or timer pulse width registers in order
to use a different setting for each of the first three timer periods after the
timer is enabled, the procedure to follow is:
1. Program the first set of register values.
2. Enable the timer.
3. Immediately program the second set of register values.
4. Wait for the first timer interrupt.
5. Program the third set of register values.
Each new setting is then programmed when a timer interrupt is received.
a
In
PWM_OUT
mode with very small periods (less than 10 counts),
there may not be enough time between updates from the buffer
registers to write both the timer period register and the timer pulse
width register. The next period may use one old value and one new
value. In order to prevent “pulse width >= period” errors, write the
timer pulse width register before the timer period register when
decreasing the values, and write the timer period register before the
timer pulse width register when increasing the value.
Figure 15-22. Timer Period Registers
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
0
0
0
0
0
Timer Period[15:0]
31 30
29 28
27 26
25 24
23 22
21 20
19
18 17 16
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Timer Period[31:16]
Reset = 0x0000 0000
Timer Period Registers (TIMERx_PERIOD)
For Memory-
mapped
addresses, see
Содержание Blackfin ADSP-BF537
Страница 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...