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?