User manual

General-Purpose Timers
www.ti.com
13.1 General-Purpose Timers
Programmable timers can be used to count or time external events that drive the timer input pins. The
CC26xx General-Purpose Timer Module (GPTM) provides two 16-bit timers (referred to as timer A and
timer B) that can be configured to operate independently as timers, or concatenated to operate as one 32-
bit timer.
The GPT is one timing resource available on the CC26xx microcontroller. Other timer resources include
the System Timer (SysTick) and the Watchdog Timer. See Section 3.2.1, SysTick, and Chapter 15,
Watchdog Timer, for reference.
The GPTM contains four GPTM blocks with the following functional options:
Operating modes:
16 with 8-bit prescaler or 32-bit programmable one-shot timer
16 with 8-bit prescaler or 32-bit programmable periodic timer
Two Capture Compare PWM pins (CCP) for each 32-bit timer
24-bit input edge count or 24-bit time-capture modes
24-bit PWM mode with software-programmable output inversion of the PWM signal
Count up or down
Daisy-chaining of timer modules to allow a single timer to initiate multiple timing events
Timer synchronization to allow selected timers to start counting on the same clock cycle
User-enabled stalling when the microcontroller asserts a CPU Halt flag during debug
Ability to determine the elapsed time between the assertion of the timer interrupt and entry into the
interrupt service routine
13.2 Block Diagram
Figure 13-1 shows the GPTM module block diagram.
1074
Timers SWCU117AFebruary 2015Revised March 2015
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated