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.

[参考译文] MSP430FR2355:MSP 低功耗微控制器论坛

Guru**** 2527070 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1026768/msp430fr2355-msp-low-power-microcontroller-forum

器件型号:MSP430FR2355

SpO2

void log_waitCommand (void)

//等待 UART 命令
UCA1IE |= UCRXIE;//启用 USCI_A1 RX 中断
_bis_SR_register (LPM0_bits | GIE);//输入 LPM0、带中断
__no_operation();

系统在执行此行时进入睡眠状态。  

当我移除时

 _bis_SR_register (LPM0_bits | GIE); 然后此行代码正在运行