这个函数什么作用?打开关闭有什么差异?
Susan Yang:
您可以看一下相关说明
software-dl.ti.com/…/group__interrupt__api.html
Enables the processor to sleep when exiting an ISR. For low power operation, this is ideal as power cycles are not wasted with the processing required for waking up from an ISR and going back to sleep.
退出ISR时使芯片进入睡眠状态。对于低功耗操作,这是理想的选择,因为不会浪费从ISR唤醒并返回睡眠所需的处理。
关闭的话,是下面的函数
Interrupt_disableSleepOnIsrExit:Disables the processor to sleep when exiting an ISR.