LM3S2965-IRN50-A1T ETC2 [List of Unclassifed Manufacturers], LM3S2965-IRN50-A1T Datasheet - Page 209
![no-image](/images/no-image-200.jpg)
LM3S2965-IRN50-A1T
Manufacturer Part Number
LM3S2965-IRN50-A1T
Description
Microcontroller
Manufacturer
ETC2 [List of Unclassifed Manufacturers]
Datasheet
1.LM3S2965-IRN50-A1T.pdf
(574 pages)
- Current page: 209 of 574
- Download datasheet (6Mb)
10.2.3.2 16-Bit Input Edge Count Mode
November 30, 2007
The output trigger is a one-clock-cycle pulse that is asserted when the counter hits the 0x0000 state,
and deasserted on the following clock cycle. It is enabled by setting the TnOTE bit in the GPTMCTL
register, and can trigger SoC-level events such as ADC conversions.
If software reloads the GPTMTAILR register while the counter is running, the counter loads the new
value on the next clock cycle and continues counting from the new value.
If the TnSTALL bit in the GPTMCTL register is enabled, the timer freezes counting until the signal
is deasserted.
The following example shows a variety of configurations for a 16-bit free running timer while using
the prescaler. All values assume a 50-MHz clock with Tc=20 ns (clock period).
Table 10-2. 16-Bit Timer With Prescaler Configurations
a. Tc is the clock period.
In Edge Count mode, the timer is configured as a down-counter capable of capturing three types
of events: rising edge, falling edge, or both. To place the timer in Edge Count mode, the TnCMR bit
of the GPTMTnMR register must be set to 0. The type of edge that the timer counts is determined
by the TnEVENT fields of the GPTMCTL register. During initialization, the GPTM Timern Match
(GPTMTnMATCHR) register is configured so that the difference between the value in the
GPTMTnILR register and the GPTMTnMATCHR register equals the number of edge events that
must be counted.
When software writes the TnEN bit in the GPTM Control (GPTMCTL) register, the timer is enabled
for event capture. Each input event on the CCP pin decrements the counter by 1 until the event count
matches GPTMTnMATCHR. When the counts match, the GPTM asserts the CnMRIS bit in the
GPTMRIS register (and the CnMMIS bit, if the interrupt is not masked). The counter is then reloaded
using the value in GPTMTnILR, and stopped since the GPTM automatically clears the TnEN bit in
the GPTMCTL register. Once the event count has been reached, all further events are ignored until
TnEN is re-enabled by software.
Figure 10-2 on page 210 shows how input edge count mode works. In this case, the timer start value
is set to GPTMnILR =0x000A and the match value is set to GPTMnMATCHR =0x0006 so that four
edge events are counted. The counter is configured to detect both edges of the input signal.
Note that the last two edges are not counted since the timer automatically clears the TnEN bit after
the current count matches the value in the GPTMnMR register.
00000000
00000001
00000010
Prescale
11111100
------------
11111110
11111111
#Clock (T c)
254
255
256
1
2
3
--
a
Max Time
332.9229
334.2336
335.5443
1.3107
2.6214
3.9321
--
Units
mS
mS
mS
mS
mS
mS
--
Preliminary
LM3S2965 Microcontroller
209
Related parts for LM3S2965-IRN50-A1T
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![LM3S2965](/images/no-image3.png)
Part Number:
Description:
Lm3s2965 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S2965-IQC20-A0T](/images/no-image3.png)
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
![LM3S2965-IQN25-A0T](/images/no-image3.png)
Part Number:
Description:
Microcontroller
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![302R29N101JV4E](/images/no-image3.png)
Part Number:
Description:
SAFETY CERTIFIED CAPACITORS
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![ATS75D8](/images/no-image3.png)
Part Number:
Description:
LOW- OLTAGE 2-WIRE DIGITAL TEMPERATURE SENSOR With Thermal Alarm
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![FS6284-01](/images/no-image3.png)
Part Number:
Description:
Dual PLL Clock Generator IC
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![AIC1531](/images/no-image3.png)
Part Number:
Description:
500mA Dual Linear Regulator with Internal Power Switch
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![TC9122P](/images/no-image3.png)
Part Number:
Description:
HIGH-SPEED BCD PROGRAMMABLE COUNTER
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![STT116GK16](/images/no-image3.png)
Part Number:
Description:
Thyristor-Thyristor Modules
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![STT500GK16](/images/no-image3.png)
Part Number:
Description:
Thyristor-Thyristor Modules
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![MSCA-1502](/images/no-image3.png)
Part Number:
Description:
15W Ultraminiature Modular Switching Power Supplies
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![CPT-DIN](/images/no-image3.png)
Part Number:
Description:
Energy Management Compact Power Transducer
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![UFT-1](/images/no-image3.png)
Part Number:
Description:
UNIVERSAL FLOW TRANSMITTER
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![L431LM5B](/images/no-image3.png)
Part Number:
Description:
1.24V Low-Voltage Adjustable Precision Shunt Regulator
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet:
![110C2-315](/images/no-image3.png)
Part Number:
Description:
118 SERIES AM REMOTE CONTROL SYSTEMS.
Manufacturer:
ETC2 [List of Unclassifed Manufacturers]
Datasheet: