文件名称:ADSlope
介绍说明--下载内容来自于网络,使用问题请自行百度
() { float fad WDTCTL = WDTPW + WDTHOLD //关闭看门狗 InitSys() CeRref() st: fad=Slope() //斜边ad转换 goto st } /***************************************************************************** 系统初始化 ******************************************************************************/ void InitSys() { unsigned int iq0 //使用XT2振荡器 BCSCTL1&=~XT2OFF //打开XT2振荡器 do { IFG1 &= ~OFIFG // 清除振荡器失效标志 for (iq0 = 0xFF iq0 > 0 iq0--) // 延时,等待XT2起振 } while ((IFG1 & OFIFG) != 0) // 判断XT2是否起振 BCSCTL2 =SELM_2+SELS //选择MCLK、SMCLK为XT2 InitBhTimerA() //初始化定时器A GoBhTimerA(100) //打开定时器捕获 _EINT() //打开全局中断控制,若不需要打开,可以屏蔽本句 } -MSP430 A/D SLOPE
(系统自动生成,下载前可以参看下载内容)
下载文件列表
AD Slope/12-1/Backup of slope.ewd
AD Slope/12-1/Backup of slope.ewp
AD Slope/12-1/comparator.c
AD Slope/12-1/comparator.c.bak
AD Slope/12-1/comparator.h
AD Slope/12-1/comparator.h.bak
AD Slope/12-1/Debug/Exe/Resistance.d43
AD Slope/12-1/Debug/Exe/slope.d43
AD Slope/12-1/Debug/Obj/comparator.pbi
AD Slope/12-1/Debug/Obj/comparator.r43
AD Slope/12-1/Debug/Obj/df_bh_timera.pbi
AD Slope/12-1/Debug/Obj/df_bh_timera.r43
AD Slope/12-1/Debug/Obj/General.pbi
AD Slope/12-1/Debug/Obj/General.r43
AD Slope/12-1/Debug/Obj/main.pbi
AD Slope/12-1/Debug/Obj/main.r43
AD Slope/12-1/Debug/Obj/slope.pbd
AD Slope/12-1/Debug/Obj/slope.pbi
AD Slope/12-1/Debug/Obj/slope.r43
AD Slope/12-1/df_bh_timera.c
AD Slope/12-1/df_bh_timera.c.bak
AD Slope/12-1/df_bh_timera.h
AD Slope/12-1/df_bh_timera.h.bak
AD Slope/12-1/General.c
AD Slope/12-1/General.c.bak
AD Slope/12-1/general.h
AD Slope/12-1/general.h.bak
AD Slope/12-1/main.c
AD Slope/12-1/main.c.bak
AD Slope/12-1/settings/Resistance.dbgdt
AD Slope/12-1/settings/Resistance.dni
AD Slope/12-1/settings/Resistance.wsdt
AD Slope/12-1/settings/slope.cspy.bat
AD Slope/12-1/settings/slope.dbgdt
AD Slope/12-1/settings/slope.dni
AD Slope/12-1/settings/slope.wsdt
AD Slope/12-1/slope.c
AD Slope/12-1/slope.c.bak
AD Slope/12-1/slope.dep
AD Slope/12-1/slope.ewd
AD Slope/12-1/slope.ewp
AD Slope/12-1/slope.eww
AD Slope/12-1/slope.h
AD Slope/12-1/slope.h.bak
AD Slope/12-1/Debug/Exe
AD Slope/12-1/Debug/List
AD Slope/12-1/Debug/Obj
AD Slope/12-1/Debug
AD Slope/12-1/settings
AD Slope/12-1
AD Slope
AD Slope/12-1/Backup of slope.ewp
AD Slope/12-1/comparator.c
AD Slope/12-1/comparator.c.bak
AD Slope/12-1/comparator.h
AD Slope/12-1/comparator.h.bak
AD Slope/12-1/Debug/Exe/Resistance.d43
AD Slope/12-1/Debug/Exe/slope.d43
AD Slope/12-1/Debug/Obj/comparator.pbi
AD Slope/12-1/Debug/Obj/comparator.r43
AD Slope/12-1/Debug/Obj/df_bh_timera.pbi
AD Slope/12-1/Debug/Obj/df_bh_timera.r43
AD Slope/12-1/Debug/Obj/General.pbi
AD Slope/12-1/Debug/Obj/General.r43
AD Slope/12-1/Debug/Obj/main.pbi
AD Slope/12-1/Debug/Obj/main.r43
AD Slope/12-1/Debug/Obj/slope.pbd
AD Slope/12-1/Debug/Obj/slope.pbi
AD Slope/12-1/Debug/Obj/slope.r43
AD Slope/12-1/df_bh_timera.c
AD Slope/12-1/df_bh_timera.c.bak
AD Slope/12-1/df_bh_timera.h
AD Slope/12-1/df_bh_timera.h.bak
AD Slope/12-1/General.c
AD Slope/12-1/General.c.bak
AD Slope/12-1/general.h
AD Slope/12-1/general.h.bak
AD Slope/12-1/main.c
AD Slope/12-1/main.c.bak
AD Slope/12-1/settings/Resistance.dbgdt
AD Slope/12-1/settings/Resistance.dni
AD Slope/12-1/settings/Resistance.wsdt
AD Slope/12-1/settings/slope.cspy.bat
AD Slope/12-1/settings/slope.dbgdt
AD Slope/12-1/settings/slope.dni
AD Slope/12-1/settings/slope.wsdt
AD Slope/12-1/slope.c
AD Slope/12-1/slope.c.bak
AD Slope/12-1/slope.dep
AD Slope/12-1/slope.ewd
AD Slope/12-1/slope.ewp
AD Slope/12-1/slope.eww
AD Slope/12-1/slope.h
AD Slope/12-1/slope.h.bak
AD Slope/12-1/Debug/Exe
AD Slope/12-1/Debug/List
AD Slope/12-1/Debug/Obj
AD Slope/12-1/Debug
AD Slope/12-1/settings
AD Slope/12-1
AD Slope
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.