Hi. Even though it may seem obvious after you've done it right once, I´d suggest to change the interrupt API documentation. I got confused with exactly the same thing.
Ricardo ----- Original Message ----- From: "Chris Liechti" <[email protected]> To: <[email protected]> Sent: Wednesday, August 28, 2002 3:44 PM Subject: Re: [Mspgcc-users] Interrupt syntax- help please Am 28.08.2002 15:10:11, schrieb Paul Burke <[email protected]>: >Hi, I'm newish to the MSP430 and completely new to GCC. I'm using the >Win32 version (latest version, downloaded today!), and I can't get it to >compile the Texas 9600 baud UART example. we have gcc specific examples in the CVS on mspgcc.sf.net. there is an example directory and some are in the msp430-libc directory. >I have changed the #includes to <io.h> and <signal.h>. thats fine >I have changed the interrupt routine line to: >interrupt (UART0RX_VECTOR) [wakeup] usart0_rx (void) no brackets needed. i use lines like that: wakeup interrupt (TIMERA0_VECTOR) INT_TimerA_CCR0(void) {} chris ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim _______________________________________________ Mspgcc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mspgcc-users
