ADSP-2126x SHARC Processor Hardware Reference
14-7
Peripheral Timer
Any of the timers can be used to implement a watchdog functionality that
can be controlled by either an internal or an external clock source.
For software to service the watchdog, the program must reset the timer
value by disabling and then re-enabling the timer. Servicing the watchdog
periodically prevents the Count register from reaching the period value
and prevents the timer interrupt from being generated. When the timer
reaches the period value and generates the interrupt, reset the DSP within
the corresponding watchdog’s ISR.
Pulse Width Modulation Mode (PWM_OUT)
In
PWM_OUT
mode, the timer supports on-the-fly updates of period and
width values of the PWM waveform. The period and width values can be
updated once every PWM waveform cycle, either within or across PWM
cycle boundaries.
To enable
PWM_OUT
mode, set the
TIMODE1–0
bits to 01 in the timer’s Con-
figuration (
TMxCTL
) register. This configures the timer’s
TIMERx
signal as
an output with its polarity determined by
PULSE
as follows:
• If
PULSE
is set (= 1), an active high width pulse waveform is gener-
ated at the
TIMERx
signal.
• If
PULSE
is cleared (= 0), an active low width pulse waveform is gen-
erated at the
TIMERx
signal.
The timer is actively driven as long as the
TIMODE
field remains 01.
PWM_OUT
mode. When the timer
becomes enabled, the timer checks the period and width values for plausi-
bility (independent of the value set with the
PRDCNT
bit) and does
not
start
to count when any of the following conditions are true:
Содержание ADSP-21261 SHARC
Страница 30: ...Contents xxx ADSP 2126x SHARC Processor Hardware Reference ...
Страница 40: ...Register Diagram Conventions xl ADSP 2126x SHARC Processor Hardware Reference ...
Страница 58: ...Differences From Previous SHARCs 1 18 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 112: ...Secondary Processing Element PEy 2 54 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 178: ...Summary 3 66 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 204: ...DAG Instruction Summary 4 26 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 322: ...Setting Up DMA 7 32 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 436: ...SPORT Programming Examples 9 86 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 521: ...ADSP 2126x SHARC Processor Hardware Reference 11 31 Input Data Port rts IDP_ISR end ...
Страница 522: ...Input Data Port Programming Example 11 32 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 590: ...Timer Programming Examples 14 20 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 796: ...I O Processor Registers A 174 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 800: ...B 4 ADSP 2126x SHARC Processor Core Manual ...
Страница 846: ...Index I 36 ADSP 2126x SHARC Processor Hardware Reference ...