LM3S328-IQC20-A0 ETC2 [List of Unclassifed Manufacturers], LM3S328-IQC20-A0 Datasheet - Page 156
LM3S328-IQC20-A0
Manufacturer Part Number
LM3S328-IQC20-A0
Description
Microcontroller
Manufacturer
ETC2 [List of Unclassifed Manufacturers]
Datasheet
1.LM3S328-IQC20-A0.pdf
(371 pages)
- Current page: 156 of 371
- Download datasheet (3Mb)
General-Purpose Timers
9.2.3.4
156
Figure 9-3. 16-Bit Input Edge Time Mode Example
16-Bit PWM Mode
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.
PWM mode can take advantage of the 8-bit prescaler by using the GPTM Timern Prescale
Register (GPTMTnPR) and the GPTM Timern Prescale Match Register (GPTMTnPMR). This
effectively extends the range of the timer to 24 bits.
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 GPTMTnPR if using a prescaler) 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 9-4 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
0xFFFF
Count
Z
Y
X
GPTMTnR=X
Preliminary
GPTMTnR=Y
GPTMTnR=Z
Time
April 27, 2007
Related parts for LM3S328-IQC20-A0
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
Part Number:
Description:
SAFETY CERTIFIED CAPACITORS
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
Part Number:
Description:
LOW- OLTAGE 2-WIRE DIGITAL TEMPERATURE SENSOR With Thermal Alarm
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
Part Number:
Description:
Dual PLL Clock Generator IC
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
Part Number:
Description:
500mA Dual Linear Regulator with Internal Power Switch
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
Part Number:
Description:
HIGH-SPEED BCD PROGRAMMABLE COUNTER
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
Part Number:
Description:
Thyristor-Thyristor Modules
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
Part Number:
Description:
Thyristor-Thyristor Modules
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
Part Number:
Description:
15W Ultraminiature Modular Switching Power Supplies
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
Part Number:
Description:
Energy Management Compact Power Transducer
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
Part Number:
Description:
UNIVERSAL FLOW TRANSMITTER
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
Part Number:
Description:
1.24V Low-Voltage Adjustable Precision Shunt Regulator
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
Part Number:
Description:
118 SERIES AM REMOTE CONTROL SYSTEMS.
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet: