CVS: msp430-libc/include/msp430 esp430e.h, 1.4, 1.5 sd16.h, 1.7, 1.8
Steve Underwood <[email protected]> Tue, 26 Dec 2006 02:33:16 -0800
| 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-cvs7.sourceforge.net:/tmp/cvs-serv28084/msp430-libc/include/msp430 Modified Files: esp430e.h sd16.h Log Message: Corrected a few differences from the current distributed header from TI Index: esp430e.h =================================================================== RCS file: /cvsroot/mspgcc/msp430-libc/include/msp430/esp430e.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -w -d -r1.4 -r1.5 --- esp430e.h 11 Mar 2005 15:49:50 -0000 1.4 +++ esp430e.h 26 Dec 2006 10:33:14 -0000 1.5 @@ -166,7 +166,8 @@ #define mINIT (0x0007) /* Initialize ESP430 Software */ #define mTEMP (0x0009) /* Request Temp. Measurement from ESP430 Software */ #define mSWVERSION (0x000B) /* Request software version of ESP430 */ -#define mREAD_PARAM (0x000D) /* Request to read the parameter with no. “Parameter No.” */ +#define mREAD_PARAM (0x000D) /* Request to read the parameter with no. "Parameter No." */ +#define mREAD_I2 (0x000F) /* Request to read the I2 channel (only if not used) */ #define mSET_CTRL0 (0x0200) /* Set Control Register 0 */ #define mSET_CTRL1 (0x0202) /* Set Control Register 1 */ @@ -187,8 +188,8 @@ #define mSET_INTRPTLEVL_LO (0x0220) /* Set Interrupt Level */ #define mSET_INTRPTLEVL_HI (0x0222) /* Set Interrupt Level */ #define mSET_CALCYCLCNT (0x0224) /* Set number of main cycles for calibration */ -#define mSET_STARTCURR_INT (0x0226) /* Set start current */ -#define mSET_STARTCURR_FRAC (0x0228) /* Set start current */ +#define mSET_STARTCURR_FRAC (0x0226) /* Set start current */ +#define mSET_STARTCURR_INT (0x0228) /* Set start current */ #define mSET_NOMFREQ (0x022A) /* Set nominal main frequency */ #define mSET_VDROPCYCLS (0x022C) /* Set cylces for VDrop detection */ #define mSET_RATIOTAMP (0x022E) /* Set ratio for tamper detection */ @@ -216,6 +217,7 @@ #define mSWRDY (0x0005) /* Software version in MBIN1 */ #define mPARAMRDY (0x0007) /* Parameter requested by mREAD_PARAM returned in MBIN1 */ #define mPARAMSET (0x0009) /* Parameter has been set */ +#define mI2RDY (0x000B) /* I2 value ready */ /* EVENT: Event Message Enable Bits */ #define WFSRDYME (0x0001) /* New waveform Samples ready */ Index: sd16.h =================================================================== RCS file: /cvsroot/mspgcc/msp430-libc/include/msp430/sd16.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -w -d -r1.7 -r1.8 --- sd16.h 12 Jan 2006 00:47:21 -0000 1.7 +++ sd16.h 26 Dec 2006 10:33:14 -0000 1.8 @@ -104,10 +104,10 @@ #define SD16INCH_6 (6<<0) /* SD16 Input Channel select Temp */ #define SD16INCH_7 (7<<0) /* SD16 Input Channel select Offset */ -#define SD16INTDLY_0 (0<<6) /* SD16 Interrupt Delay: Int. after 4.Conversion */ -#define SD16INTDLY_1 (1<<6) /* SD16 Interrupt Delay: Int. after 3.Conversion */ -#define SD16INTDLY_2 (2<<6) /* SD16 Interrupt Delay: Int. after 2.Conversion */ -#define SD16INTDLY_3 (3<<6) /* SD16 Interrupt Delay: Int. after 1.Conversion */ +#define SD16INTDLY_0 (0<<6) /* SD16 Interrupt Delay: Int. after 4th conversion */ +#define SD16INTDLY_1 (1<<6) /* SD16 Interrupt Delay: Int. after 3rd conversion */ +#define SD16INTDLY_2 (2<<6) /* SD16 Interrupt Delay: Int. after 2nd conversion */ +#define SD16INTDLY_3 (3<<6) /* SD16 Interrupt Delay: Int. after 1st conversion */ /* SD16CTL - AFECTL */ #define SD16OVIE 0x0002 /* Overflow Interupt Enable */ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mspgcc-commits mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mspgcc-commits