Timer 2 Registers
www.ti.com
T2M1 (0xA3) – Timer 2 Multiplexed Register 1
Bit Name Reset R/W Function
No.
7:0
T2M1
0 R/W Indirectly returns/modifies bits [15:8] of an internal register, depending on
T2MSEL.T2MSEL value.
When reading the T2M0 register with T2MSEL.T2MSEL set to 000, the timer
(t2tim) value is latched.
Reading this register with T2MSEL.T2MSEL set to 000 returns the latched value
of t2tim[15:8].
T2MOVF0 (0xA4) – Timer 2 Multiplexed Overflow Register 0
Bit Name Reset R/W Function
No.
7:0
T2MOVF0
0 R/W Indirectly returns/modifies bits [7:0] of an internal register, depending on the
T2MSEL.T2MOVFSEL value.
When reading the T2MOVF0 register with T2MSEL.T2MOVFSEL set to 000 and
T2CTRL.LATCH_MODE set to 0, the overflow counter value (t2ovf) is latched.
When reading the T2M0 register with T2MSEL.T2MOVFSEL set to 000 and
T2CTRL.LATCH_MODE set to 1, the overflow counter value (t2ovf) is latched.
T2MOVF1 (0xA5 – Timer 2 Multiplexed Overflow Register 2
Bit Name Reset R/W Function
No.
7:0
T2MOVF1
0 R/W Indirectly returns/modifies bits [15:8] of an internal register, depending on the
T2MSEL.T2MSEL value.
Reading this register with T2MSEL.T2MOVFSEL set to 000 returns the latched
value of t2ovf[15:8].
T2MOVF2 (0xA6) – Timer 2 Multiplexed Overflow Register 2
Bit Name Reset R/W Function
No.
7:0
T2MOVF2
0 R/W Indirectly returns/modifies bits [23:16] of an internal register, depending on the
T2MSEL.T2MOVFSEL value.
Reading this register with T2MSEL.T2MOVFSEL set to 000 returns the latched
value of t2ovf[23:16].
T2IRQF (0xA1) – Timer 2 Interrupt Flags (CC253x/CC2540)
Bit Name Reset R/W Function
No.
7:6 – 0 R0 Reserved. Read as 0
5
TIMER2_OVF_COMPARE2F
0 R/W0 Set when the Timer 2 overflow counter counts to the value set at t2ovf_cmp2
4
TIMER2_OVF_COMPARE1F
0 R/W0 Set when the Timer 2 overflow counter counts to the value set at Timer 2
t2ovf_cmp1
3
TIMER2_OVF_PERF
0 R/W0 Set when the Timer 2 overflow counter would have counted to a value equal to
t2ovf_per, but instead wraps to 0
2
TIMER2_COMPARE2F
0 R/W0 Set when the Timer 2 counter counts to the value set at t2_cmp2
1
TIMER2_COMPARE1F
0 R/W0 Set when the Timer 2 counter counts to the value set at t2_cmp1
0
TIMER2_PERF
0 R/W0 Set when the Timer 2 counter would have counted to a value equal to t2_per,
but instead wraps to 0.
214
Timer 2 (MAC Timer) SWRU191C–April 2009–Revised January 2012
Submit Documentation Feedback
Copyright © 2009–2012, Texas Instruments Incorporated