Texas Instruments CC2650DK Benutzerhandbuch

Seite von 1570
General-Purpose Timer Registers
13.5.1.15 TBPR Register (Offset = 3Ch) [reset = X]
TBPR is shown in
and described in
.
Timer B Pre-scale This register allows software to extend the range of the timers when they are used
individually. When in one-shot or periodic down count modes, this register acts as a true prescaler for the
timer counter. When acting as a true prescaler, the prescaler counts down to 0 before the value in TBR
and TBV registers are incremented. In all other individual/split modes, this register is a linear extension of
the upper range of the timer counter, holding bits 23:16 in the 16-bit modes of the 16/32-bit GPT
Figure 13-23. TBPR Register
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
RESERVED
TBPSR
R-X
R/W-X
Table 13-22. TBPR Register Field Descriptions
Bit
Field
Type
Reset
Description
31-8
RESERVED
R
X
Software should not rely on the value of a reserved. Writing any
other value than the reset value may result in undefined behavior.
7-0
TBPSR
R/W
X
Timer B Pre-scale. Prescale ratio in one-shot and periodic count
mode is TBPSR + 1, ie: 0: Prescaler ratio = 1 1: Prescaler ratio = 2
2: Prescaler ratio = 3 ... 255: Prescaler ratio = 256
1108
Timers
SWCU117A – February 2015 – Revised March 2015
Copyright © 2015, Texas Instruments Incorporated