LM3S317-IQN20-A0T Luminary Micro, Inc., LM3S317-IQN20-A0T Datasheet - Page 320

no-image

LM3S317-IQN20-A0T

Manufacturer Part Number
LM3S317-IQN20-A0T
Description
Microcontroller
Manufacturer
Luminary Micro, Inc.
Datasheet
Pulse Width Modulator (PWM)
15.2.3
320
Figure 15-2. PWM Count-Down Mode
Figure 15-3. PWM Count-Up/Down Mode
PWM Signal Generator
The PWM generator takes these pulses (qualified by the direction signal), and generates two
PWM signals. In Count-Down mode, there are four events that can affect the PWM signal: zero,
load, match A down, and match B down. In Count-Up/Down mode, there are six events that can
affect the PWM signal: zero, load, match A down, match A up, match B down, and match B up.
The match A or match B events are ignored when they coincide with the zero or load events. If the
match A and match B events coincide, the first signal, PWMA, is generated based only on the match
A event, and the second signal, PWMB, is generated based only on the match B event.
For each event, the effect on each output PWM signal is programmable: it can be left alone
(ignoring the event), it can be toggled, it can be driven Low, or it can be driven High. These actions
can be used to generate a pair of PWM signals of various positions and duty cycles, which do or
do not overlap. Figure 15-4 shows the use of Count-Up/Down mode to generate a pair of
center-aligned, overlapped PWM signals that have different duty cycles.
CompA
CompB
Load
Load
Zero
Zero
Dir
A
B
CompA
CompB
Load
Load
Zero
Zero
Dir
BUp
A
B
AUp
ADown
BDown
ADown
Preliminary
BDown
May 4, 2007

Related parts for LM3S317-IQN20-A0T