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.

NMI中断能在LPMx下运行?

Other Parts Discussed in Thread: MSP430F5638

好像LPM2都不行了?那么我只想保持按键检测和电源管理怎么办.

PMMRIE |= SVSMLDLYIE;
_bis_SR_register(LPM1_bits + GIE);

#pragma vector=SYSNMI_VECTOR
__interrupt void SYSNMI_ISR(void)
{

//各种代码
   _bic_SR_register_on_exit(LPM1_bits + GIE);
}