st10f166_adc
所属分类:单片机开发
开发工具:C/C++
文件大小:18KB
下载次数:6
上传日期:2006-02-04 15:02:39
上 传 者:
moyanqd
说明: This example program shows how to configure and use the A/D Converter of the following microcontroller:
STMicroelectronics ST10F166
After configuring the A/D, the program reads the A/D result and outputs the converted value using the serial port.
To run this program...
Build the project (Project Menu, Build Target)
Start the debugger (Debug Menu, Start/Stop Debug Session)
View the Serial Window (View Menu, Serial Window #1)
View the A/D converter peripheral (Peripheral Menu, A/D Converter)
Run the program (Debug Menu, Go)
A debug script (debug.ini) creates buttons that set different analog values in A/D channels. As the program runs, you will see the A/D input and output change.
Other buttons create signals that generate sine wave or sawtooth patterns as analog inputs. µ Vision3 users may enable the built-in Logic Analyzer to view, measure and compare these input signals graphically.
(This example shows how to program configur e and use the A/D Converter of the following MICR ocontroller : STMicroelectronics ST10F166 After configuri ng the A/D, the program reads the A/D and outputs the result converted value using the serial port. To run th Build program ... is the project (Project Menu, Build Target) Start the debugger (Debug Menu, Start/Stop Debug Session) View the Serial Wind ow (View Menu, Serial Window# 1) View the A/D converter Periph General (Peripheral Menu, A/D Converter) Run the program (Debug Menu, Go) A debug script (debug.ini) creates buttons that set different analog values in A/D channel s. As the program runs, you will see the A/D input and output change. Oth er buttons create signals that generate sine wa ve or sawtooth patterns as anal)
文件列表:
abstract.txt (1058, 2004-07-16)
adc.Opt (3102, 2004-07-16)
adc.Uv2 (2274, 2004-07-16)
debug.ini (3053, 2004-07-16)
main.c (697, 2004-07-16)
main.OBJ (8706, 2004-07-16)
START167.166 (49781, 2004-06-29)
START167.OBJ (4508, 2004-07-16)
近期下载者:
相关文件:
收藏者: