好像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);
}
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.
好像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);
}