文件名称:MSP430单片机C语言编程中的退出睡眠问题
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:38.96kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
MSP430在进入睡眠后,如果发生事件产生中断,那么单
片机会退出睡眠,自动执行中断程序,但是当中断返回时,主
程序又重新进入睡眠状态。如果要在发生中断后,主程序需
要退出睡眠,那么需要在中断程序中修改SP堆栈中的内容,
C语言没有指令可以修改堆栈内的内容,可以采用C语言与
汇编语言混合编程的方法解决此问题。-MSP430 into sleep, and if events have disrupted, SCM will withdraw from sleep, interrupted proceedings automatically, but when interrupted return, the main program to re-enter the state of sleep. If in the event of disruption, from the main program needs sleep, then the need to interrupt proceedings to amend the SP stack, C language instruction can not change the contents of stack can be used C and Assembly Language Programming hybrid method to solve this problem.
片机会退出睡眠,自动执行中断程序,但是当中断返回时,主
程序又重新进入睡眠状态。如果要在发生中断后,主程序需
要退出睡眠,那么需要在中断程序中修改SP堆栈中的内容,
C语言没有指令可以修改堆栈内的内容,可以采用C语言与
汇编语言混合编程的方法解决此问题。-MSP430 into sleep, and if events have disrupted, SCM will withdraw from sleep, interrupted proceedings automatically, but when interrupted return, the main program to re-enter the state of sleep. If in the event of disruption, from the main program needs sleep, then the need to interrupt proceedings to amend the SP stack, C language instruction can not change the contents of stack can be used C and Assembly Language Programming hybrid method to solve this problem.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MSP430单片机C语言编程中的退出睡眠问题.pdf
www.dssz.com.txt
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.