|
LM3S808 Datasheet, PDF (162/416 Pages) List of Unclassifed Manufacturers – Microcontroller | |||
|
◁ |
General-Purpose Timers
9 General-Purpose Timers
Programmable timers can be used to count or time external events that drive the Timer input pins.
The Stellaris® General-Purpose Timer Module (GPTM) contains three GPTM blocks (Timer0, Timer1,
and Timer 2). Each GPTM block provides two 16-bit timer/counters (referred to as TimerA and
TimerB) that can be configured to operate independently as timers or event counters, or configured
to operate as one 32-bit timer or one 32-bit Real-Time Clock (RTC). Timers can also be used to
trigger analog-to-digital (ADC) conversions. The trigger signals from all of the general-purpose timers
are ORed together before reaching the ADC module, so only one timer should be used to trigger
ADC events.
Note: Timer2 is an internal timer and can only be used to generate internal interrupts or trigger
ADC events.
The General-Purpose Timer Module is one timing resource available on the Stellaris® microcontrollers.
Other timer resources include the System Timer (SysTick) (see âSystem Timer
(SysTick)â on page 33).
The following modes are supported:
â 32-bit Timer modes
â Programmable one-shot timer
â Programmable periodic timer
â Real-Time Clock using 32.768-KHz input clock
â Software-controlled event stalling (excluding RTC mode)
â 16-bit Timer modes
â General-purpose timer function with an 8-bit prescaler (for one-shot and periodic modes only)
â Programmable one-shot timer
â Programmable periodic timer
â Software-controlled event stalling
â 16-bit Input Capture modes
â Input edge count capture
â Input edge time capture
â 16-bit PWM mode
â Simple PWM mode with software-programmable output inversion of the PWM signal
162
October 01, 2007
Preliminary
|
▷ |