LM3S1110 Luminary Micro, Inc, LM3S1110 Datasheet - Page 201

no-image

LM3S1110

Manufacturer Part Number
LM3S1110
Description
Lm3s1110 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM3S1110-EQC25-A2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S1110-EQC25-A2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S1110-IBZ25-A2
Manufacturer:
Texas Instruments
Quantity:
135
Part Number:
LM3S1110-IBZ25-A2
Manufacturer:
TI
Quantity:
201
Part Number:
LM3S1110-IBZ25-A2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S1110-IQC25-A2
Manufacturer:
TI
Quantity:
83
Part Number:
LM3S1110-IQC25-A2
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S1110-IQC25-A2
Quantity:
78
Part Number:
LM3S1110-IQC25-A2T
Manufacturer:
Texas Instruments
Quantity:
10 000
10.2.3.4 16-Bit PWM Mode
July 25, 2008
Figure 10-3. 16-Bit Input Edge Time Mode Example
Note:
The GPTM supports a simple PWM generation mode. In PWM mode, the timer is configured as a
down-counter with a start value (and thus period) defined by GPTMTnILR. PWM mode is enabled
with the GPTMTnMR register by setting the TnAMS bit to 0x1, the TnCMR bit to 0x0, and the TnMR
field to 0x2.
When software writes the TnEN bit in the GPTMCTL register, the counter begins counting down
until it reaches the 0x0000 state. On the next counter cycle, the counter reloads its start value from
GPTMTnILR and continues counting until disabled by software clearing the TnEN bit in the GPTMCTL
register. No interrupts or status bits are asserted in PWM mode.
The output PWM signal asserts when the counter is at the value of the GPTMTnILR register (its
start state), and is deasserted when the counter value equals the value in the GPTM Timern Match
Register (GPTMnMATCHR). Software has the capability of inverting the output PWM signal by
setting the TnPWML bit in the GPTMCTL register.
Figure 10-4 on page 202 shows how to generate an output PWM with a 1-ms period and a 66% duty
cycle assuming a 50-MHz input clock and TnPWML =0 (duty cycle would be 33% for the TnPWML
=1 configuration). For this example, the start value is GPTMnIRL=0xC350 and the match value is
GPTMnMR=0x411A.
Input Signal
The prescaler is not available in 16-Bit PWM mode.
0xFFFF
Count
Y
Z
X
GPTMTnR=X
Preliminary
GPTMTnR=Y
GPTMTnR=Z
LM3S1110 Microcontroller
Time
201

Related parts for LM3S1110