LM3S317 Luminary Micro, Inc, LM3S317 Datasheet - Page 151
![no-image](/images/no-image-200.jpg)
LM3S317
Manufacturer Part Number
LM3S317
Description
Lm3s317 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet
1.LM3S317.pdf
(376 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
LM3S317-EQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S317-EQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S317-IGZ25-C2
Manufacturer:
TI
Quantity:
168
Company:
Part Number:
LM3S317-IQN25-C2
Manufacturer:
Texas Instruments
Quantity:
135
Company:
Part Number:
LM3S317-IQN25-C2
Manufacturer:
TI
Quantity:
78
Part Number:
LM3S317-IQN25-C2
Manufacturer:
TI/德州仪器
Quantity:
20 000
Company:
Part Number:
LM3S317-IQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
- Current page: 151 of 376
- Download datasheet (3Mb)
9.3
9.3.1
February 6, 2007
Figure 9-4. 16-Bit PWM Mode Example
Output
Signal
Initialization and Configuration
To use the general purpose timers, the peripheral clock must be enabled by setting the GPTM0,
GPTM1, and GPTM2 bits in the RCGC1 register.
This section shows module initialization and configuration examples for each of the supported
timer modes.
32-Bit One-Shot/Periodic Timer Mode
The GPTM is configured for 32-bit One-Shot and Periodic modes by the following sequence:
1.
2.
3.
4.
5.
6.
7.
Ensure the timer is disabled (the TAEN bit in the GPTMCTL register is cleared) before making
any changes.
Write the GPTM Configuration Register (GPTMCFG) with a value of 0x0.
Set the TAMR field in the GPTM TimerA Mode Register (GPTMTAMR):
a.
b.
Load the start value into the GPTM TimerA Interval Load Register (GPTMTAILR).
If interrupts are required, set the TATOIM bit in the GPTM Interrupt Mask Register
(GPTMIMR).
Set the TAEN bit in the GPTMCTL register to enable the timer and start counting.
Poll the TATORIS bit in the GPTMRIS register or wait for the interrupt to be generated (if
enabled). In both cases, the status flags are cleared by writing a 1 to the TATOCINT bit of the
GPTM Interrupt Clear Register (GPTMICR).
Write a value of 0x1 for One-Shot mode.
Write a value of 0x2 for Periodic mode.
TnPWML = 0
TnPWML = 1
0xC350
0x411A
Count
TnEN set
GPTMTnR=GPTMnMR
Preliminary
GPTMTnR=GPTMnMR
LM3S317 Data Sheet
Time
151
Related parts for LM3S317
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![LM3S1110](/images/no-image3.png)
Part Number:
Description:
Lm3s1110 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1133](/images/no-image3.png)
Part Number:
Description:
Lm3s1133 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1138](/images/no-image3.png)
Part Number:
Description:
Lm3s1138 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1150](/images/no-image3.png)
Part Number:
Description:
Lm3s1150 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1162](/images/no-image3.png)
Part Number:
Description:
Lm3s1162 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1165](/images/no-image3.png)
Part Number:
Description:
Lm3s1165 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1332](/images/no-image3.png)
Part Number:
Description:
Lm3s1332 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1435](/images/no-image3.png)
Part Number:
Description:
Lm3s1435 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1439](/images/no-image3.png)
Part Number:
Description:
Lm3s1439 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1512](/images/no-image3.png)
Part Number:
Description:
Lm3s1512 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1538](/images/no-image3.png)
Part Number:
Description:
Lm3s1538 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1601](/images/no-image3.png)
Part Number:
Description:
Lm3s1601 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1607](/images/no-image3.png)
Part Number:
Description:
Lm3s1607 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1608](/images/no-image3.png)
Part Number:
Description:
Lm3s1608 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet: