CVS: msp430-libc/include msp430xG43x.h,1.2,1.3

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

Modified Files:
	msp430xG43x.h 
Log Message:
Corrections for the G43x devices


Index: msp430xG43x.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/include/msp430xG43x.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- msp430xG43x.h	2 Nov 2004 00:46:39 -0000	1.2
+++ msp430xG43x.h	3 Nov 2004 14:29:09 -0000	1.3
@@ -22,6 +22,7 @@
 #define __msp430_have_port6
 #define __msp430_have_fll_and_xt2
 #define __msp430_have_lcd_16_20
+#define __msp430_have_dac12_op_amp
 #define LCD_BASE 0x90
 
 #include <msp430/basic_timer.h>
@@ -46,12 +47,16 @@
 #define OFIE                (1<<1)
 #define NMIIE               (1<<4)
 #define ACCVIE              (1<<5)
+#define URXIE0              (1<<6)
+#define UTXIE0              (1<<7)
 
 #define IFG1_               0x0002  /* Interrupt Flag 1 */
 sfrb(IFG1,IFG1_);
 #define WDTIFG              (1<<0)
 #define OFIFG               (1<<1)
 #define NMIIFG              (1<<4)
+#define URXIFG0             (1<<6)
+#define UTXIFG0             (1<<7)
 
 #define IE2_                0x0001  /* Interrupt Enable 2 */
 sfrb(IE2,IE2_);
@@ -61,6 +66,12 @@
 sfrb(IFG2,IFG2_);
 #define BTIFG               (1<<7)
 
+#define ME1_                0x0004  /* Module Enable 1 */
+sfrb(ME1,ME1_);
+#define URXE0               (1<<6)
+#define USPIE0              (1<<6)
+#define UTXE0               (1<<7)
+
 #define BASICTIMER_VECTOR   0       /* 0xFFE0 Basic Timer */
 #define PORT2_VECTOR        2       /* 0xFFE2 Port 2 */
 #define DAC12_DMA_VECTOR    6       /* 0xFFE6 DAC 12 */
@@ -75,7 +86,6 @@
 #define TIMERB1_VECTOR      24      /* 0xFFF8 Timer B CC1-2, TB */
 #define TIMERB0_VECTOR      26      /* 0xFFFA Timer B CC0 */
 #define NMI_VECTOR          28      /* 0xFFFC Non-maskable */
-#define RESET_VECTOR        30      /* 0xFFFE Reset [Highest Priority] */
 
 #define UART0TX_VECTOR      USART0TX_VECTOR
 #define UART0RX_VECTOR      USART0RX_VECTOR



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
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.