CVS: msp430-libc/include/msp430 opamp.h,1.1,1.2

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-serv5170/msp430-libc/include/msp430

Modified Files:
	opamp.h 
Log Message:
Registers incorrectly defined


Index: opamp.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/include/msp430/opamp.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- opamp.h	20 Nov 2003 12:52:16 -0000	1.1
+++ opamp.h	26 Oct 2004 00:13:25 -0000	1.2
@@ -13,20 +13,17 @@
  */
 
 /* Switches: none */
-#define SIFDEBUG_           (0x01B0)  /* SIF, Debug Register */
-sfrw(SIFDEBUG, SIFDEBUG_);
-
-#define OA0CTL0_            (0x00C0)  /* OA0 Control register 0 */
+#define OA0CTL0_            0x00C0  /* OA0 Control register 0 */
 sfrb(OA0CTL0, OA0CTL0_);
-#define OA0CTL1_            (0x00C1)  /* OA0 Control register 1 */
+#define OA0CTL1_            0x00C1  /* OA0 Control register 1 */
 sfrb(OA0CTL1, OA0CTL1_);
-#define OA1CTL0_            (0x00C0)  /* OA1 Control register 0 */
+#define OA1CTL0_            0x00C2  /* OA1 Control register 0 */
 sfrb(OA1CTL0, OA1CTL0_);
-#define OA1CTL1_            (0x00C1)  /* OA1 Control register 1 */
+#define OA1CTL1_            0x00C3  /* OA1 Control register 1 */
 sfrb(OA1CTL1, OA1CTL1_);
-#define OA2CTL0_            (0x00C0)  /* OA2 Control register 0 */
+#define OA2CTL0_            0x00C4  /* OA2 Control register 0 */
 sfrb(OA2CTL0, OA2CTL0_);
-#define OA2CTL1_            (0x00C1)  /* OA2 Control register 1 */
+#define OA2CTL1_            0x00C5  /* OA2 Control register 1 */
 sfrb(OA2CTL1, OA2CTL1_);
 
 #define OA0ADC0             (0x01)    /* OA0 output to ADC12 input channel select 0 */



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
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.