LPC214X系列ARM在KEIL编译环境下的所有例程
/*****************************************************************************
* readme.txt: Description of the LPC213x/4x Sample Software
*
* Copyright(C) 2006, Philips Semiconductor
* All rights reserved.
*
* History
* 2006.02.01 ver 1.00 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. Philips 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. Philips Semiconductors reserves the right to make changes in the
software without notification. Philips 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 sample software
===================
This example demonstrates the use of build-in peripherals on the Philips
LPC213x/214x family MCUs.
The sample 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, and scatter loading file. The peripheral directories include,
GPIO, PWM, Real-time clock, timer, SPI, SSP, I2C, Watchdog timer, UART, external
interrupt, ADC, DAC, etc.
The development environment is Keil's, an ARM company now, uVision 3.x
and ULINK ICE. The target board is Keil's MCB214x with a Philips's LPC214x MCU
on it.
Some external components, such as I2C temperature, 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
-- lpc214x.hDefinition file of all the registers of LPC213x/4x
-- irq.hInterrupt related definitions and API prototyping
-- type.hType definition
-- target.hTarget specific definition for Keil's MCB214x board
-- timer.hDefinition and header file for timer module
-- src
-- startup.sCode start up entry
-- swi_handler.sSWI handler
Note: not used, but a good example for future references.
-- irq.cGeneric SWI interrupt handler related APIs
-- target.cTarget specific modules
Note: not used for Keil but for RVDK.
-- timer.cTimer related APIs
GPIO
-- fio.hGPIO and fast I/O header
-- fio.cGPIO and fast I/O APIs
-- fiotest.cGPIO and Fast I/O test module
-- gpio.uv2uVision project file
EXTINT
-- extint.hExternal interrupt header
-- extint.cExternal interrupt APIs
-- einttest.cExternal interrupt test module
-- extint.uv2uVision project file
Timer
-- tmrtest.cTimer test module, note: API modules
are in the COMMON directory and
shared and used by some peripheral testing.
-- timer.uv2uVision project file
PWM
-- pwmc.hPWM header
-- pwm.cPWM APIs
-- pwmtest.cPWM test module
-- pwm.uv2uVision project file
SPI
-- spi.hSPI header
-- spi.cSPI APIs
-- spitest.cSPI test module
-- spi.uv2uVision project file
SSP
-- ssp.hSSP(SPI1) header
-- ssp.cSSP(SPI1) APIs
-- ssptest.cSSP(SPI1) test module
-- ssp.uv2uVision project file
UART
-- uart.hUART header
-- uart.cUART APIs
-- uarttest.cUART test module
-- uart.uv2uVision project file
RTC
-- rtc.hReal-time clock(RTC) header
-- rtc.cReal-time clock(RTC) APIs
-- rtctest.cReal-time clock(RTC) test module
-- rtc.uv2uVision project file
I2C
-- i2c.hI2C header
-- i2c.cI2C APIs
-- i2ctest.cI2C test module
-- i2cmst.uv2uVision project file
WDT
-- wdt.hWatchdog timer header
-- wdt.cWatchdog timer APIs
-- wdttest.cWatchdog timer test module
-- wdt.uv2uVision project file
ADC
-- adc.hADC header
-- adc.cADC APIs
-- adctest.cADC test module
-- adc.uv2uVision project file
DAC
-- dac.hDAC header
-- dac.cDAC APIs
-- dactest.cDAC test module
-- dac.uv2uVision project file