CVS: msp430-libc/include/msp430 usci.h,1.3,1.4
Steve Underwood <[email protected]> Sun, 16 Dec 2007 02:15:37 -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-cvs16.sourceforge.net:/tmp/cvs-serv7539/include/msp430 Modified Files: usci.h Log Message: Added aliases for the USCI clock sources, in keeping with the aliases we have for clock sources in other modules. Hopefully, no conflicts will occur as devices are added. Index: usci.h =================================================================== RCS file: /cvsroot/mspgcc/msp430-libc/include/msp430/usci.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -w -d -r1.3 -r1.4 --- usci.h 7 Jun 2006 13:01:30 -0000 1.3 +++ usci.h 16 Dec 2007 10:15:35 -0000 1.4 @@ -237,6 +237,11 @@ #define UCSA1 (0x0002) /* I2C Slave Address 1 */ #define UCSA0 (0x0001) /* I2C Slave Address 0 */ +/* Aliases by mspgcc */ +#define UCSSEL_UCLKI UCSSEL_0 +#define UCSSEL_ACLK UCSSEL_1 +#define UCSSEL_SMCLK UCSSEL_2 + /* -------- USCI0 */ #define UCA0CTL0_ 0x0060 /* USCI A0 Control Register 0 */ ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace