As far as I know the proper syntax for the interrupt is:
interrupt(TIMERA0_VECTOR) taccr0(void) {
}You havn't shown your definition of ISR() ?? Cheers, Bernie On Mon, Feb 16, 2009 at 8:43 AM, Gabriel Fernandez <[email protected]>wrote: > When I generate the hex file of this C file: > > / > > *-----------------------------------------------------------------------------*/ > > #include <msp430x11x1.h> > #include <msp430/timera.h> > #include <signal.h> > > int main(void) > { > WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer > P1DIR = 0x01; // Set P1.0 as (the) output > P1OUT = 0x00; // unset LED > > TACCR0 = 0xa000 ; > TACCTL0 = CCIE ; > > TACTL = TASSEL_1 | MC_1 | ID_0 | TACLR ; > > eint() ; > > for(;;) > {;} > > } > > > ISR( TIMERA0, TA0_ISR ) > { > P1OUT ^= 0x01; > } > / > > *-----------------------------------------------------------------------------*/ > > bash$ msp430-gcc -Os -mmcu=msp430x1121 -o test1.elf test1.c > bash$ msp430-objcopy -O ihex test1.elf test1.hex > > There is only one interrupt vector created (POR), can anyone tell me > why? > > > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Mspgcc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mspgcc-users >
