lpc29xx
所属分类:处理器开发
开发工具:Visual C++
文件大小:155KB
下载次数:7
上传日期:2010-09-09 11:29:47
上 传 者:
etime
说明: lpc29xx 初始化测试代码内容包括时钟、uart、can、flash等
(lpc29xx initialization test code includes clock, uart, can, flash, etc.)
文件列表:
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\ADC\adc.c (4502, 2007-11-14)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\ADC\adc.h (860, 2007-09-13)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\ADC\adc.Opt (5185, 2007-11-14)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\ADC\adc.Uv2 (5138, 2007-11-14)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\ADC\adctest.c (1802, 2007-09-13)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\ADC\Flash.ini (879, 2007-09-10)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\ADC\mtimer.c (3829, 2007-11-14)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\ADC\mtimer.h (821, 2007-09-11)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\ADC\RAM.ini (879, 2007-09-10)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\blinky\blinky.c (2432, 2007-10-25)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\blinky\blinky.Opt (4665, 2010-09-07)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\blinky\blinky.Uv2 (5191, 2010-09-07)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\blinky\blinky_LPC29xx_Debug.dep (1524, 2010-09-07)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\blinky\blinky_Opt.Bak (6415, 2007-11-14)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\blinky\blinky_Uv2.Bak (5169, 2007-11-14)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\blinky\Flash.ini (882, 2007-08-21)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\blinky\Obj\Blinky_Debug.plg (203, 2010-09-07)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\blinky\RAM.ini (880, 2007-08-21)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\Common\inc\irq.h (2909, 2007-11-16)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\Common\inc\lpc29xx.h (94849, 2007-11-16)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\Common\inc\mem_b.scf (832, 2007-07-13)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\Common\inc\target.h (2332, 2007-11-15)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\Common\inc\timer.h (848, 2007-10-23)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\Common\inc\type.h (750, 2007-08-20)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\Common\inc\uart.h (1323, 2007-10-25)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\Common\src\irq.c (8137, 2007-09-11)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\Common\src\Startup.s (6460, 2007-11-15)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\Common\src\swi_handler.s (3222, 2007-08-08)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\Common\src\target.c (7030, 2007-11-15)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\Common\src\timer.c (4003, 2007-11-14)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\Common\src\uart.c (9674, 2007-11-14)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\Common\src\viccopy.s (1136, 2007-10-29)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\EXTINT\extint.c (2525, 2007-11-16)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\EXTINT\extint.h (746, 2007-09-10)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\EXTINT\extint.Opt (4874, 2007-11-14)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\EXTINT\extint.Uv2 (5168, 2007-11-14)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\EXTINT\extint_test.c (1656, 2007-10-22)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\EXTINT\Flash.ini (882, 2007-09-10)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\EXTINT\RAM.ini (882, 2007-09-10)
code.package.lpc29xx.keil\LPC29xx_SampleSoftware.001\Keil\EXTMEM\EXT_SRAM\ext_sram.c (4985, 2007-08-31)
... ...
/*****************************************************************************
* readme.txt: Description of the LPC29xx Example Software Package
*
* Copyright(C) 2007, NXP Semiconductor
* All rights reserved.
*
* History
* 2007.11.14 ver 0.01 Preliminary version, first Release
*
******************************************************************************/
/*****************************************************************************/
Software that is described herein is for illustrative purposes only which
provides customers with programming information regarding the products.
This software is supplied "AS IS" without any warranties. NXP Semiconductors
assumes no responsibility or liability for the use of the software, conveys no
license or title under any patent, copyright, or mask work right to the
product. NXP Semiconductors reserves the right to make changes in the
software without notification. NXP Semiconductors also make no representation
or warranty that such application will be suitable for the specified use without
further testing or modification.
/*****************************************************************************/
The Description of the Example software
===================
This example demonstrates the use of build-in peripherals on the NXP
LPC29xx family microcontrollers.
The Example software includes, common library, peripheral APIs, and test modules
for the APIs. The common library include startup file, standard definition and
header files, processor specific setup module, generic interrupt related APIs,
timer routine. The peripheral directories include, ADC, GPIO, PWM, Real-time clock,
timer, Watchdog timer, UART, external interrupt, Power Management Unit(PMU),
Reset Generation Unit(RGU), etc.
The development environment is Keil's, an ARM company now, uVision 3.x
and ULINK ICE. The target boards are HITEX LPC2916 board.
The project is created for both target option "LPC29xx_Debug" and "LPC29xx_Release".
For "LPC29xx_Release", the image code can be programmed into the flash and executed;
for "LPC29xx_Debug", the image code can be loaded into internal SRAM(IRAM)
for easy debugging. The "Flash.ini" and "RAM.ini" in each directory are Keil
uVision debugger script file when Debugger starts.
Some external components, such as SPI serial EEPROM, will be required to add on
the board in order to complete the test below.
The directory tree and content of the sample software
===================
common
-- inc
-- lpc29xx.h Definition file of all the registers of LPC29xx
-- irq.h Interrupt related definitions and API prototyping
-- type.h Type definition
-- target.h Target specific definition for HITEX's LPC2916 board
-- timer.h Definition and header file for timer module
-- uart.h Definition and header file for UART module
-- src
-- startup.s Code start up entry
-- swi_handler.s SWI handler
Note: not used, but a good example for future references.
-- viccopy.s Remap ARM exceptional interrupt handler module
-- irq.c Generic SWI interrupt handler related APIs
-- target.c Target specific modules
-- timer.c Timer related APIs
-- uart.c UART related APIs
BLINKY
-- blinky.h GPIO header
-- blinky.c GPIO test program
-- blinky.uv2 uVision project file
EXTINT(Event Router)
-- extint.h External interrupt header
-- extint.c External interrupt APIs, (Event Router is used for EINTx test.)
-- eint_test.c External interrupt test module
-- extint.uv2 uVision project file
PWM
-- pwmc.h PWM header
-- pwm.c PWM APIs
-- mtimer.h MSCSS timer header
-- mtimer.c MSCSS timer APIs
-- pwmtest.c PWM test module
-- pwm.uv2 uVision project file
UART
-- uarttest.c UART test module
-- uart.uv2 uVision project file
ADC
-- adc.h ADC header
-- adc.c ADC APIs
-- mtimer.h MSCSS timer header
-- mtimer.c MSCSS timer APIs
-- adctest.c ADC controller test module
-- adc.uv2 uVision project file
WDT
-- wdt.h Watchdog timer header
-- wdt.c Watchdog timer APIs
-- wdttest.c Watchdog timer test module
-- wdt.uv2 uVision project file
PMC
-- pmc.h Power management controller header
-- pmc.c Power management controller APIs
-- pmtest.c Power management test module,
test powerdown and external interrupt wakeup.
-- pwrman.uv2 uVision project file
RGU
-- rgu.h Reset Generation Unit header
-- rgu.c Reset Generation Unit APIs
-- extint.h External interrupt header
-- extint.c External interrupt APIs for RGU test
-- rgutest.c Reset Generation Unit test module.
-- rgu.uv2 uVision project file
EXTMEM
-- EXT_SRAM
-- ext_sram.h Ext_SRAM configuration header
-- ext_sram.c Ext. SRAM configuration and access APIs
-- ext_sramtest.c Ext. SRAM test module
-- ext_sram.uv2 uVision project file
近期下载者:
相关文件:
收藏者: