Texas Instruments CC2650DK Benutzerhandbuch

Seite von 1570
TAPR
TAMATCHR
TAPMR
TAPS
Timer A control
Control / Status
PERDMACLK
Clock / Edge 
detect
TAILR
Timer B control
Interrupt / configure
Control / Status
IMR
RIS
CTL
CFG
Control / Status
SYNC
ICLR
MIS
TIMER A 
CCP PIN
TA comparator
EN
TAR
TAPV
EN
TBR
TAV
TB comparator
TAMR
TBMATCHR
TBPR
TBLIR
TBMR
Timer B control
TBPMR
TBPS
TBPV
TBV
Clock / Edge 
detect
0x0000 (Down counter mode, 16/32-bit
0xFFFF (Up counter modes, 16/32-bit
0x0000 0000 (Down counter modes, 16/32-bit
0xFFFF FFFF (Up counter modes, 16/32-bit
0x0000 (Down counter mode, 16/32-bit
0xFFFF (Up counter modes, 16/32-bit
0x0000 0000 (Down counter modes, 16/32-bit
0xFFFF FFFF (Up counter modes, 16/32-bit
Timer A free-running 
value
Timer B free-running 
value
Timer B
 interrupt
Timer A
 interrupt
DMAEV
DMA 
request
TIMER B 
CCP PIN
ANDCCP
TIMER B 
PWM
32kHz or 
TIMER A 
PWM
Functional Description
Figure 13-1. GPTM Module Block Diagram
13.3 Functional Description
The main components of each GPTM block are two free-running up and down counters (referred to as
timer A and timer B), two match registers, two prescaler match registers, two shadow registers, and two
load and initialization registers and their associated control functions. The exact function of each GPTM is
controlled by software and configured through the register interface. Timer A and timer B can be used
individually, in which case they have a 16-bit counting range. In addition, timer A and timer B can be
concatenated to provide a 32-bit counting range. The prescaler can only be used when the timers are
used individually.
lists the available modes for each GPTM block. When counting down in one-shot or periodic
modes, the prescaler acts as a true prescaler and contains the least-significant bits (LSBs) of the count.
When counting up in one-shot or periodic modes, the prescaler acts as a timer extension and holds the
most-significant bits (MSBs) of the count. In input edge count, input edge time, and PWM mode, the
prescaler always acts as a timer extension, regardless of the count direction.
1075
SWCU117A – February 2015 – Revised March 2015
Timers
Copyright © 2015, Texas Instruments Incorporated