CVS: msp430-libc/include/msp430 timera.h,1.12,1.13 timerb.h,1.10,1.11

Chris Liechti <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/msp430-libc/include/msp430
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8656/msp430-libc/include/msp430

Modified Files:
	timera.h timerb.h 
Log Message:
add TAIV and TBIV names for numbers

Index: timera.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/include/msp430/timera.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -w -d -r1.12 -r1.13
--- timera.h	2 Oct 2005 13:27:30 -0000	1.12
+++ timera.h	19 Apr 2006 20:09:52 -0000	1.13
@@ -273,4 +273,14 @@
 #define CM_NEG              CM_2
 #define CM_BOTH             CM_3
 
+/* TimerA IV names */
+#if defined(__MSP430_HAS_TA3__) || defined(__MSP430_HAS_TA2____)
+    #define TAIV_NONE       0x00   /* No interrupt pending */
+    #define TAIV_CCR1       0x02   /* Capture/compare 1 TACCR1 CCIFG Highest */
+    #if defined(__MSP430_HAS_TA3__)
+        #define TAIV_CCR2   0x04   /* Capture/compare 2 TACCR2 CCIFG */
+    #endif /*__MSP430_HAS_TA3__*/
+    #define TAIV_OVERFLOW   0x0A   /* Timer overflow TAIFG Lowest */
+#endif /*__MSP430_HAS_TA3__ || __MSP430_HAS_TA2__*/
+
 #endif

Index: timerb.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/include/msp430/timerb.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -w -d -r1.10 -r1.11
--- timerb.h	2 Oct 2005 13:27:30 -0000	1.10
+++ timerb.h	19 Apr 2006 20:09:52 -0000	1.11
@@ -177,4 +177,16 @@
 #define TBSSEL_SMCLK        TBSSEL_2
 #define TBSSEL_INCLK        TBSSEL_3
 
+/* TimerB IV names */
+#define TBIV_NONE           0x00   /* No interrupt pending */
+#define TBIV_CCR1           0x02   /* Capture/compare 1 TBCCR1 CCIFG Highest */
+#define TBIV_CCR2           0x04   /* Capture/compare 2 TBCCR2 CCIFG */
+#if defined(__MSP430_HAS_TB7__)
+    #define TBIV_CCR3       0x06   /* Capture/compare 3 TBCCR3 CCIFG */
+    #define TBIV_CCR4       0x08   /* Capture/compare 4 TBCCR4 CCIFG */
+    #define TBIV_CCR5       0x0A   /* Capture/compare 5 TBCCR5 CCIFG */
+    #define TBIV_CCR6       0x0C   /* Capture/compare 6 TBCCR6 CCIFG */
+#endif /*__MSP430_HAS_TB7__B7*/
+#define TBIV_OVERFLOW       0x0E   /* Timer overflow TBIFG Lowest */
+
 #endif



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.