文件名称:A3
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 21kb
- 下载次数:
- 0次
- 提 供 者:
- 山*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
IAR环境下的MSP430F149,以温度传感器的电压值为采样信号的AD采样程序,采样间隔为80ms。- Descr iption: Use ADC12 and the integrated temperature sensor to detect
temperature gradients. The temperature sensor output voltage is sampled
~ every 80ms and compared with the defined delta values using an ISR.
(ADC12OSC/256)/ determines sample time which needs to be greater than
30us for temperature sensor.
ADC12 is operated in repeat-single channel mode with the sample and
convert trigger sourced from Timer_A CCR1. The ADC12MEM0_IFG at the end
of each converstion will trigger an ISR.
ACLK = n/a, MCLK = SMCLK = default DCO ~ 800k, ADC12CLK = ADC12OSC
// MSP430F149
// -----------------
// /|\| XIN|-
// | | |
// --|RST XOUT|-
// | |
// |A10 P3.4|-->LED
temperature gradients. The temperature sensor output voltage is sampled
~ every 80ms and compared with the defined delta values using an ISR.
(ADC12OSC/256)/ determines sample time which needs to be greater than
30us for temperature sensor.
ADC12 is operated in repeat-single channel mode with the sample and
convert trigger sourced from Timer_A CCR1. The ADC12MEM0_IFG at the end
of each converstion will trigger an ISR.
ACLK = n/a, MCLK = SMCLK = default DCO ~ 800k, ADC12CLK = ADC12OSC
// MSP430F149
// -----------------
// /|\| XIN|-
// | | |
// --|RST XOUT|-
// | |
// |A10 P3.4|-->LED
(系统自动生成,下载前可以参看下载内容)
下载文件列表
A3\A3.dep
..\A3.ewd
..\A3.ewp
..\A3.eww
..\Backup of A3.ewd
..\Backup of A3.ewp
..\Debug\Exe\A3.d43
..\.....\Obj\A3.pbd
..\.....\...\main.r43
..\main.c
..\settings\A3.cspy.bat
..\........\A3.dbgdt
..\........\A3.dni
..\........\A3.wsdt
..\Debug\Exe
..\.....\List
..\.....\Obj
..\Debug
..\settings
A3
..\A3.ewd
..\A3.ewp
..\A3.eww
..\Backup of A3.ewd
..\Backup of A3.ewp
..\Debug\Exe\A3.d43
..\.....\Obj\A3.pbd
..\.....\...\main.r43
..\main.c
..\settings\A3.cspy.bat
..\........\A3.dbgdt
..\........\A3.dni
..\........\A3.wsdt
..\Debug\Exe
..\.....\List
..\.....\Obj
..\Debug
..\settings
A3