Operating Modes
16-8
ADSP-214xx SHARC Processor Hardware Reference
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:
• Width is equal to zero
TMxOVF
(IRQ also set)
Set if Initialized with:
Period < Width or
Period == Width or
Period == 0
Set if the Counter wraps
(Error Condition)
Unused
TMxIRQ
(If enabled)
If PERIOD_CNT:
1 = Set at end of Period
0 = Set at end of Width
If PERIOD_CNT:
1 = Set at end of Period
0 = Set at end of Width
Set after Period Expires
and PCLK is running
Table 16-4. Timer Signal Use (Cont’d)
Register
Settings
PWM_OUT Mode
WIDTH_CAP Mode
EXT_CLK Mode
www.BDTIC.com/ADI
Содержание SHARC ADSP-214 Series
Страница 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...