LPC21xx_ADC
所属分类:处理器开发
开发工具:C/C++
文件大小:63KB
下载次数:20
上传日期:2009-09-12 10:41:13
上 传 者:
asitworld
说明: This example program shows how to configure and use the
A/D Converter of the following microcontrollers:
* Philips LPC 2114/2119/2124/2129/2131/2132/2138/2194
After configuring the A/D Converter, the program reads
A/D channel 0 and outputs the converted value using the serial
port.
To run this program...
1. Select the Device (Project - Options for Target - Device)
2. Build the project (Project - Build Target)
3. Start the uVision Debugger
4. Open the Serial Window (View - Serial Window 1)
5. Click Run (F5)
6. Click on the Toolbox buttons to change input voltages
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 program shows how to configure and use the
A/D Converter of the following microcontrollers:
* Philips LPC 2114/2119/2124/2129/2131/2132/2138/2194
After configuring the A/D Converter, the program reads
A/D channel 0 and outputs the converted value using the serial
port.
To run this program...
1. Select the Device (Project- Options for Target- Device)
2. Build the project (Project- Build Target)
3. Start the uVision Debugger
4. Open the Serial Window (View- Serial Window 1)
5. Click Run (F5)
6. Click on the Toolbox buttons to change input voltages
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.)
文件列表:
lpc21xx_adc\lpc21xx_adc\.plg (177, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\Abstract.txt (1103, 2009-09-11)
lpc21xx_adc\lpc21xx_adc\ADC.c (1122, 2005-04-18)
lpc21xx_adc\lpc21xx_adc\ADC.elf (11958, 2007-06-23)
lpc21xx_adc\lpc21xx_adc\ADC.lnp (145, 2007-06-23)
lpc21xx_adc\lpc21xx_adc\ADC.LST (6353, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\ADC.MAP (5844, 2007-06-23)
lpc21xx_adc\lpc21xx_adc\ADC.OBJ (15702, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\ADC.Opt (4875, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\ADC.plg (203, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\ADC.SBR (57, 2007-06-23)
lpc21xx_adc\lpc21xx_adc\ADC.Uv2 (3626, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\ADC_Opt.Bak (4875, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\ADC_Uv2.Bak (3621, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\debug.ini (2908, 2005-04-08)
lpc21xx_adc\lpc21xx_adc\NSKADC (37728, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\NSKADC.elf (11664, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\NSKADC.hex (6086, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\NSKADC.lnp (105, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\NSKADC.MAP (5813, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\NSKADC.Opt (2159, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\NSKADC.plg (1062, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\NSKADC.SBR (12623, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\NSKADC.Uv2 (2217, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\NSKADC_Uv2.Bak (0, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\RAM.ini (867, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\Serial.c (1576, 2005-04-18)
lpc21xx_adc\lpc21xx_adc\Serial.LST (6432, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\Serial.OBJ (15843, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\Startup.LST (26932, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\Startup.OBJ (7829, 2007-06-26)
lpc21xx_adc\lpc21xx_adc\Startup.s (14274, 2005-04-13)
lpc21xx_adc\lpc21xx_adc (0, 2009-08-18)
lpc21xx_adc (0, 2009-08-18)
近期下载者:
相关文件:
收藏者: