|
LM3S6611 Datasheet, PDF (324/647 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 four GPTM blocks (Timer0, Timer1,
Timer 2, and Timer 3). Each GPTM block provides two 16-bit timers/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).
The GPT Module is one timing resource available on the Stellaris microcontrollers. Other timer
resources include the System Timer (SysTick) (see 88).
The General-Purpose Timers provide the following features:
â Four General-Purpose Timer Modules (GPTM), each of which provides two 16-bit timers/counters.
Each GPTM can be configured to operate independently:
â As a single 32-bit timer
â As one 32-bit Real-Time Clock (RTC) to event capture
â For Pulse Width Modulation (PWM)
â 32-bit Timer modes
â Programmable one-shot timer
â Programmable periodic timer
â Real-Time Clock when using an external 32.768-KHz clock as the input
â User-enabled stalling when the controller asserts CPU Halt flag during debug
â 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
â User-enabled stalling when the controller asserts CPU Halt flag during debug
â 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
9.1 Block Diagram
Note: In Figure 9-1 on page 325, the specific CCP pins available depend on the Stellaris device.
See Table 9-1 on page 325 for the available CCPs.
324
July 16, 2014
Texas Instruments-Production Data
|
▷ |