CVS: msp430-libc4/include/msp430 usart.h,1.1.1.1,1.2

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

Modified Files:
	usart.h 
Log Message:
UART1 aliases for consistency with UART0

Index: usart.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc4/include/msp430/usart.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -w -d -r1.1.1.1 -r1.2
--- usart.h	29 Aug 2005 16:48:46 -0000	1.1.1.1
+++ usart.h	27 Mar 2006 21:06:47 -0000	1.2
@@ -79,6 +79,13 @@
   #define U0IFG             IFG1        /* RX and TX interrupt flags of UART0 */
 #endif
 
+/* UART1 aliases for consistency with UART0 */
+#if defined(__MSP430_HAS_UART1__)
+  #define U1ME              ME2         /* RX and TX module enable */
+  #define U1IE              IE2         /* RX and TX interrupt of UART1 */
+  #define U1IFG             IFG2        /* RX and TX interrupt flags of UART1 */
+#endif
+
 /* -------- USART 0 */
 
 #define U0CTL_              0x0070  /* UART 0 Control */



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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.