CVS: msp430-libc/include msp430x47xx.h,1.5,1.6

"Chris Liechti" <[email protected]> Thu, 4 Jun 2009 21:34:31 +0000
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/msp430-libc/include
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv9432/include

Modified Files:
	msp430x47xx.h 
Log Message:
- _MSP430_HAS_PORT??_R__ updated in msp430x47xx.h file
- __MSP430_HAS_PORT9_R__ and __MSP430_HAS_PORT10_R__ added in gpio.h file

Thanks to Thierry


Index: msp430x47xx.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/include/msp430x47xx.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -d -r1.5 -r1.6
--- msp430x47xx.h	22 Mar 2009 11:37:31 -0000	1.5
+++ msp430x47xx.h	4 Jun 2009 21:34:29 -0000	1.6
@@ -12,6 +12,10 @@
  * 2008-10-08 - sb-sf ([email protected])
  * - created, based on msp430xG461x.h
  *
+ * 2009-06-04 - THLN
+ * - for msp430x47xx
+ *       - __MSP430_HAS_PORT??_R__ updated
+ *
  * $Id$
  */
 
@@ -19,16 +23,15 @@
 
 #define __MSP430_HAS_WDT__
 #define __MSP430_MPY32_BASE__   0x140
-#define __MSP430_HAS_PORT1__
-#define __MSP430_HAS_PORT2__
-#define __MSP430_HAS_PORT3__
-#define __MSP430_HAS_PORT4__
-#define __MSP430_HAS_PORT5__
-#define __MSP430_HAS_PORT6__
-#define __MSP430_HAS_PORT7__
-#define __MSP430_HAS_PORT8__
-#define __MSP430_HAS_PORT9__
-#define __MSP430_HAS_PORT10__
+#define __MSP430_HAS_PORT1_R__
+#define __MSP430_HAS_PORT2_R__
+#define __MSP430_HAS_PORT3_R__
+#define __MSP430_HAS_PORT4_R__
+#define __MSP430_HAS_PORT5_R__
+#define __MSP430_HAS_PORT7_R__
+#define __MSP430_HAS_PORT8_R__
+#define __MSP430_HAS_PORT9_R__
+#define __MSP430_HAS_PORT10_R__
 #define __MSP430_HAS_PORTA__
 #define __MSP430_HAS_PORTB__
 #define __MSP430_HAS_FLLPLUS__
@@ -50,12 +53,14 @@
 #define __MSP430_HAS_SD16_CH3__
 #endif  /* __MSP430_47x3__ */
 
-#if defined(__MSP430_47166__) || defined(__MSP430_47176__) || defined(__MSP430_47186__) || defined(__MSP430_47196__)
+#if defined(__MSP430_47166__) || defined(__MSP430_47176__) || 
+defined(__MSP430_47186__) || defined(__MSP430_47196__)
 #define __MSP430_HAS_SD16_CH3__
 #define __MSP430_HAS_SD16_CH4__
 #define __MSP430_HAS_SD16_CH5__
 #endif
-#if defined(__MSP430_47167__) || defined(__MSP430_47177__) || defined(__MSP430_47187__) || defined(__MSP430_47197__)
+#if defined(__MSP430_47167__) || defined(__MSP430_47177__) || 
+defined(__MSP430_47187__) || defined(__MSP430_47197__)
 #define __MSP430_HAS_SD16_CH3__
 #define __MSP430_HAS_SD16_CH4__
 #define __MSP430_HAS_SD16_CH5__
@@ -66,8 +71,10 @@
     || defined(__MSP430_4783__) || defined(__MSP430_4793__)
 #define __MSP430_SD16IV_BASE__    0x110
 #define __MSP430_SD16MEM_BASE__   0x112
-#elif defined(__MSP430_47166__) || defined(__MSP430_47176__) || defined(__MSP430_47186__) || defined(__MSP430_47196__) \
-    || defined(__MSP430_47167__) || defined(__MSP430_47177__) || defined(__MSP430_47187__) || defined(__MSP430_47197__)
+#elif defined(__MSP430_47166__) || defined(__MSP430_47176__) || 
+defined(__MSP430_47186__) || defined(__MSP430_47196__) \
+    || defined(__MSP430_47167__) || defined(__MSP430_47177__) || 
+defined(__MSP430_47187__) || defined(__MSP430_47197__)
 #define __MSP430_SD16IV_BASE__    0x1AE
 #define __MSP430_SD16MEM_BASE__   0x110
 #endif


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get