GIE/GIEH bit (INTCON<7>), 它的作用之一如下:
On all exits from Idle or Sleep modes by interrupt, code execution branches to the interrupt vector if the GIE/GIEH bit (INTCON<7>) is set. Otherwise, code execution
continues
or
resumes
without
branching
(see Section 10.0 “Interrupts”).
我就不太理解:在睡眠方式下,GIE=1,外部中断唤醒时,使程序进入了中断矢量,但退出中断时,返回到哪了呢
?????????
是返回到了sleep 指令的下一条处了吗
?????
请大师给予指点,表示感谢。 |