CVS: msp430-libc/include/msp430 usart.h,1.8,1.9

Steve Underwood <[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-serv24194/msp430-libc/include/msp430

Modified Files:
	usart.h 
Log Message:
I2CDR -> I2CSRB + I2CDRW


Index: usart.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/include/msp430/usart.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -w -d -r1.8 -r1.9
--- usart.h	17 Aug 2005 14:28:46 -0000	1.8
+++ usart.h	17 Nov 2005 01:11:30 -0000	1.9
@@ -219,6 +219,12 @@
 #define I2CIV_GC            0x0E        /* I2C interrupt vector: General call (GCIFG) */
 #define I2CIV_STT           0x10        /* I2C interrupt vector: Start condition (STTIFG) */
 
+#define I2CIE_              0x0050      /* I2C interrupt enable */
+sfrb(I2CIE, I2CIE_);
+#define I2CIFG_             0x0051      /* I2C interrupt flag */
+sfrb(I2CIFG, I2CIFG_);
+#define I2CNDAT_            0x0052      /* I2C data count */
+sfrb(I2CNDAT, I2CNDAT_);
 #define I2CTCTL_            0x0071  /* I2C transfer control */
 sfrb(I2CTCTL, I2CTCTL_);
 #define I2CDCTL_            0x0072  /* I2C data control */
@@ -229,14 +235,10 @@
 sfrb(I2CSCLH, I2CSCLH_);
 #define I2CSCLL_            0x0075  /* I2C SCLL */
 sfrb(I2CSCLL, I2CSCLL_);
-#define I2CDR_              0x0076  /* I2C data */
-sfrb(I2CDR,   I2CDR_);
-#define I2CIE_              0x0050  /* I2C interrupt enable */
-sfrb(I2CIE,   I2CIE_);
-#define I2CIFG_             0x0051  /* I2C interrupt flag */
-sfrb(I2CIFG,  I2CIFG_);
-#define I2CNDAT_            0x0052  /* I2C data count */
-sfrb(I2CNDAT, I2CNDAT_);
+#define I2CDRB_             0x0076      /* I2C data for byte access */
+sfrb(I2CDRB, I2CDRB_);
+#define I2CDRW_             0x0076      /* I2C data for word access */
+sfrw(I2CDRW, I2CDRW_);
 #define I2COA_              0x0118  /* I2C own address */
 sfrw(I2COA,   I2COA_);
 #define I2CSA_              0x011A  /* I2C slave address */



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&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.