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 proper process to do System Non-maskable Interrupt Service Routine?

Part Number: MSP430F6779A

as we have setting the reset pin to NMI for prevent PMM26

int _system_pre_init(void)
{
/* Insert your low-level initializations here */
__disable_interrupt();
WDTCTL = WDTPW+WDTHOLD;

// Clear RTCHOLD Bit after reset
RTCCTL0_H = RTCKEY_H; // unlock
RTCCTL1 &= ~RTCHOLD; // release RTC
RTCCTL0_H = 0x00; // lock

SFRRPCR = SYSNMI | SYSNMIIES | SYSRSTRE;

/* Return value:
* 1 - Perform data segment initialization.
* 0 - Skip data segment initialization.
*/
return 1;
}

What is proper process to do System Non-maskable Interrupt Service Routine?

Can it be blank as below?

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

}

**Attention** This is a public forum