Texas Instruments CC2650DK Benutzerhandbuch

Seite von 1570
General-Purpose Timer Registers
13.5.1.3 TBMR Register (Offset = 8h) [reset = X]
TBMR is shown in
and described in
Timer B Mode
Figure 13-11. TBMR Register
31
30
29
28
27
26
25
24
RESERVED
R-X
23
22
21
20
19
18
17
16
RESERVED
R-X
15
14
13
12
11
10
9
8
TCACT
TBCINTD
TBPLO
TBMRSU
TBPWMIE
TBILD
R/W-X
R/W-X
R/W-X
R/W-X
R/W-X
R/W-X
7
6
5
4
3
2
1
0
TBSNAPS
TBWOT
TBMIE
TBCDIR
TBAMS
TBCM
TBMR
R/W-X
R/W-X
R/W-X
R/W-X
R/W-X
R/W-X
R/W-X
Table 13-10. TBMR Register Field Descriptions
Bit
Field
Type
Reset
Description
31-16
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.
15-13
TCACT
R/W
X
Timer Compare Action Select
0h = DIS_CMP : Disable compare operations
1h = Toggle State on Time-Out
2h = Clear CCP output pin on Time-Out
3h = Set CCP output pin on Time-Out
4h = Set CCP output pin immediately and toggle on Time-Out
5h = Clear CCP output pin immediately and toggle on Time-Out
6h = Set CCP output pin immediately and clear on Time-Out
7h = Clear CCP output pin immediately and set on Time-Out
12
TBCINTD
R/W
X
One-Shot/Periodic Interrupt Mode
0h = Normal Time-Out Interrupt
1h = Mask Time-Out Interrupt
11
TBPLO
R/W
X
Legacy PWM operation
0h = Legacy operation
1h = CCP output pin is set to 1 on time-out
10
TBMRSU
R/W
X
Timer B Match Register Update mode If the timer is disabled
(CTL.TBEN is clear) when this bit is set, TBMATCHR and TBPR are
updated when the timer is enabled. If the timer is stalled
(CTL.TBSTALL is set), TBMATCHR and TBPR are updated
according to the configuration of this bit.
0h = Update TBMATCHR and TBPR, if used on the next cycle.
1h = Update the TBMATCHR and the TBPR, if used on the next
time-out.
9
TBPWMIE
R/W
X
GPT Timer B PWM Interrupt Enable This bit enables interrupts in
PWM mode on rising, falling, or both edges of the CCP output
0h = Interrupt is disabled.
1h = Interrupt is enabled. This bit is only valid in PWM mode.
1091
SWCU117A – February 2015 – Revised March 2015
Timers
Copyright © 2015, Texas Instruments Incorporated