CVS: msp430-libc/include/msp430 usart.h,1.10,1.11
Chris Liechti <[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-serv14349/msp430-libc/include/msp430 Modified Files: usart.h Log Message: UART1 aliases for consistency with UART0 Index: usart.h =================================================================== RCS file: /cvsroot/mspgcc/msp430-libc/include/msp430/usart.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -w -d -r1.10 -r1.11 --- usart.h 12 Jan 2006 00:47:21 -0000 1.10 +++ usart.h 27 Mar 2006 21:06:36 -0000 1.11 @@ -79,6 +79,13 @@ #define U0IFG IFG1 /* RX and TX interrupt flags of UART0 */ #endif +/* UART1 aliases for consistency with UART0 */ +#if defined(__MSP430_HAS_UART1__) + #define U1ME ME2 /* RX and TX module enable */ + #define U1IE IE2 /* RX and TX interrupt of UART1 */ + #define U1IFG IFG2 /* RX and TX interrupt flags of UART1 */ +#endif + /* -------- USART 0 */ #define U0CTL_ 0x0070 /* UART 0 Control */ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642