This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432的中断问题



开发环境用的CCS6.1,复制了TI给的fpu的例程,里边用到了一个P1.1口按键的中断,在例程里直接运行时没有问题的,但是复制到我自己建的工程里,只要一按触发中断的按键程序就自动跳到一个死循环里,求助。。。。

/* This is the code that gets called when the processor receives an unexpected  */
/* interrupt.  This simply enters an infinite loop, preserving the system state */
/* for examination by a debugger.                                               */
static void defaultISR(void)
{
    /* Fault trap exempt from ULP advisor */
    #pragma diag_push
    #pragma CHECK_ULP("-2.1")

    /* Enter an infinite loop. */
    while(1)
    {
    }

    #pragma diag_pop
}