English
Language : 

CC2430 Datasheet, PDF (104/234 Pages) Texas Instruments – A True System-on-Chip solution for 2.4 GHz IEEE 802.15.4 / ZigBee-TM
CC2430
T1CC0
T1CCn
0000h
1 - Set output on compare
2 - Clear output on compare
3 - Toggle output on compare
4 - Set output on compare-up,
clear on compare-down
5 - Clear output on compare-up,
set on compare-down
6 - Clear when T1CC0, set when T1CCn
7 - Set when T1CC0, clear when T1CCn
T1CCn T1CC0 T1CCn
T1CCn T1CC0 T1CCn
Figure 25: Output modes, timer up/down mode
13.3.10 Timer 1 Interrupts
There is one interrupt vector assigned to the
timer. An interrupt request is generated when
one of the following timer events occur:
• Counter reaches terminal count value.
• Input capture event.
• Output compare event
The register bits T1CTL.OVFIF,
T1CTL.CH0IF,
T1CTL.CH1IF,
and
T1CTL.CH2IF contains the interrupt flags for
the terminal count value event, and the three
channel compare/capture events, respectively.
An interrupt request is only generated when
the corresponding interrupt mask bit is set.
The interrupt mask bits are T1CCTL0.IM,
T1CCTL1.IM,
T1CCTL2.IM
and
TIMIF.OVFIM. If there are other pending
CC2430 PRELIMINARY Data Sheet (rev. 1.03) SWRS036A
Page 104 of 232