|
LM3S8G62 Datasheet, PDF (48/1096 Pages) Texas Instruments – Stellaris® LM3S8G62 Microcontroller | |||
|
◁ |
OBSOLETE: TI has discontinued production of this device.
Architectural Overview
1.3.4.4
The General-Purpose Timer Module (GPTM) contains four GPTM blocks with the following functional
options:
â Operating modes:
â 16- or 32-bit programmable one-shot timer
â 16- or 32-bit programmable periodic timer
â 16-bit general-purpose timer with an 8-bit prescaler
â 32-bit Real-Time Clock (RTC) when using an external 32.768-KHz clock as the input
â 16-bit input-edge count- or time-capture modes
â 16-bit PWM mode with software-programmable output inversion of the PWM signal
â Count up or down
â Eight Capture Compare PWM pins (CCP)
â Daisy chaining of timer modules to allow a single timer to initiate multiple timing events
â ADC event trigger
â User-enabled stalling when the microcontroller asserts CPU Halt flag during debug (excluding
RTC mode)
â Ability to determine the elapsed time between the assertion of the timer interrupt and entry into
the interrupt service routine.
â Efficient transfers using Micro Direct Memory Access Controller (µDMA)
â Dedicated channel for each timer
â Burst request generated on timer interrupt
CCP Pins (see page 469)
Capture Compare PWM pins (CCP) can be used by the General-Purpose Timer Module to time/count
external events using the CCP pin as an input. Alternatively, the GPTM can generate a simple PWM
output on the CCP pin.
The LM3S8G62 microcontroller includes eight Capture Compare PWM pins (CCP) that can be
programmed to operate in the following modes:
â Capture: The GP Timer is incremented/decremented by programmed events on the CCP input.
The GP Timer captures and stores the current timer value when a programmed event occurs.
â Compare: The GP Timer is incremented/decremented by programmed events on the CCP input.
The GP Timer compares the current value with a stored value and generates an interrupt when
a match occurs.
â PWM: The GP Timer is incremented/decremented by the system clock. A PWM signal is generated
based on a match between the counter value and a value stored in a match register and is output
on the CCP pin.
48
July 24, 2012
Texas Instruments-Production Data
|
▷ |