文件名称:MSP430的c程序集合
文件大小:51KB
文件格式:RAR
更新时间:2015-08-11 04:46:28
MSP430
TI官方程序例程!
//******************************************************************************
// MSP-FET430P140 Demo - ADC12 Sample A0, AVcc
//
// Description; A simple single sample is made on A0 with refernce to Avcc.
// Software controls pulse on ADC12SC to sample analog input signal and start
// conversion. ADC12 internal oscillator times conversion. ADC12BUSY flag is
// polled for EOC. Conversion result saved in ADC12MEM0.
// // For acurate conversion, bias ADC12 references per device datasheet //
//
// MSP430F149
// -----------------
// /|\| XIN|-
// | | |
// --|RST XOUT|-
// | |
// 0-AVcc >--|A0 |
//
// M.Buccini
// Texas Instruments, Inc
// February 2002
//******************************************************************************
#include