CC2430
Peripherals
: 16-bit timer, Timer1
T1CCTL2 (0xE7) – Timer 1 Channel 2 Capture/Compare Control
Bit
Name
Reset
R/W
Description
7
0
R/W
Reserved. Always set to 0.
-
6
1
R/W
R/W
Channel 2 interrupt mask. Enables interrupt request when set.
IM
5:3
000
Channel 2 compare mode select. Selects action on output when
timer value equals compare value in T1CC2
CMP[2:0]
000
001
010
011
Set output on compare
Clear output on compare
Toggle output on compare
Set output on compare-up, clear on 0 (clear on compare-
down in up/down mode)
100
Clear output on compare-up, set on 0 (set on compare-
down in up/down mode)
101
110
111
Clear when equal T1CC0, set when equal T1CC2
Set when equal T1CC0, clear when equal T1CC2
Not used
2
0
R/W
R/W
Mode. Select Timer 1 channel 2 capture or compare mode
MODE
0
1
Capture mode
Compare mode
1:0
00
Channel 2 capture mode select
CAP[1:0]
00
01
10
11
No capture
Capture on rising edge
Capture on falling edge
Capture on all edges
T1CC2H (0xDF) – Timer 1 Channel 2 Capture/Compare Value High
Bit
Name
Reset
R/W
Description
7:0
0x00
R/W
Timer 1 channel 2 capture/compare value, high order byte
T1CC2[15:8]
T1CC2L (0xDE) – Timer 1 Channel 2 Capture/Compare Value Low
Bit
Name
Reset
R/W
Description
7:0
0x00
R/W
Timer 1 channel 2 capture/compare value, low order byte
T1CC2[7:0]
CC2430 Data Sheet (rev. 2.1) SWRS036F
Page 109 of 211