文件名称:A1
介绍说明--下载内容来自于网络,使用问题请自行百度
IAR环境下 MSP430-149F,以参考电压为采样信号的ADC采样示例程序,当采样到的电压A0>0.5*AVcc,P3.4(LED)置位,否则复位。- MSP-FET430P140 Demo- ADC12, Sample A0, Set P3.4 if A0 > 0.5*AVcc
Descr iption: A single sample is made on A0 with reference to AVcc.
Software sets ADC10SC to start sample and conversion- ADC12SC
automatically cleared at EOC. ADC12 internal oscillator times sample (16x)
and conversion. In Mainloop MSP430 waits in LPM0 to save power until ADC12
conversion complete, ADC12_ISR will force exit from LPM0 in Mainloop on
reti. If A0 > 0.5*AVcc, P3.4 set, else reset.
// MSP430F149
// -----------------
// /|\| XIN|-
// | | |
// --|RST XOUT|-
// | |
// Vin-->|P6.0/A0 P3.4|--> LED
Descr iption: A single sample is made on A0 with reference to AVcc.
Software sets ADC10SC to start sample and conversion- ADC12SC
automatically cleared at EOC. ADC12 internal oscillator times sample (16x)
and conversion. In Mainloop MSP430 waits in LPM0 to save power until ADC12
conversion complete, ADC12_ISR will force exit from LPM0 in Mainloop on
reti. If A0 > 0.5*AVcc, P3.4 set, else reset.
// MSP430F149
// -----------------
// /|\| XIN|-
// | | |
// --|RST XOUT|-
// | |
// Vin-->|P6.0/A0 P3.4|--> LED
(系统自动生成,下载前可以参看下载内容)
下载文件列表
A1/A1.dep
A1/A1.ewd
A1/A1.ewp
A1/A1.eww
A1/Backup (2) of A1.ewd
A1/Backup (2) of A1.ewp
A1/Backup of A1.ewd
A1/Backup of A1.ewp
A1/Debug/Exe/A1.d43
A1/Debug/Obj/A1.pbd
A1/Debug/Obj/main.pbi
A1/Debug/Obj/main.r43
A1/main.c
A1/settings/A1.cspy.bat
A1/settings/A1.dbgdt
A1/settings/A1.dni
A1/settings/A1.wsdt
A1/Debug/Exe
A1/Debug/List
A1/Debug/Obj
A1/Debug
A1/settings
A1
A1/A1.ewd
A1/A1.ewp
A1/A1.eww
A1/Backup (2) of A1.ewd
A1/Backup (2) of A1.ewp
A1/Backup of A1.ewd
A1/Backup of A1.ewp
A1/Debug/Exe/A1.d43
A1/Debug/Obj/A1.pbd
A1/Debug/Obj/main.pbi
A1/Debug/Obj/main.r43
A1/main.c
A1/settings/A1.cspy.bat
A1/settings/A1.dbgdt
A1/settings/A1.dni
A1/settings/A1.wsdt
A1/Debug/Exe
A1/Debug/List
A1/Debug/Obj
A1/Debug
A1/settings
A1
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.