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.

MSP430F6779A: What is purpose of __TI_ISR_TRAP for the interrupt that undefined?

Part Number: MSP430F6779A

In our source code has no defined function to the interrupt vector user NMI.
De-assembly code seen that the __TI_ISR_TRAP has generated by compiler.

//------------------------------------------------------------------------------
//                         Interrupt Service Routine
//------------------------------------------------------------------------------
//#pragma vector=UNMI_VECTOR            /* 0xFFFA User Non-maskable */
//__interrupt void int_UNMI(void)
//{
//
//}

#pragma vector=SYSNMI_VECTOR            /* 0xFFFC System Non-maskable */
__interrupt void int_SYSNMI(void)
{

}

that mean if the user NMI interrupt accident occur (if program mistake to enable this interrupt), the program will be running to infinity loops.


What is purpose of __TI_ISR_TRAP for the interrupt that undefined?

IDE: Code Composer Studio Version: 10.1.1.00004

**Attention** This is a public forum