包括LPC21XX,22XX,23XX,24XX很全面
各种功能模块的用法及寄存器设置
一应俱全
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2008-11-01 14:49 NXP
目录 0 2008-11-01 14:48 NXPLH75401
目录 0 2008-11-01 14:48 NXPLH75401LogicPD
目录 0 2008-11-01 14:48 NXPLH75401LogicPDBasicLCD
目录 0 2008-11-01 14:48 NXPLH75401LogicPDBasicLCDapp
文件 721 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDappincludes.h
文件 6898 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDappmain.c
文件 470376 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDappPaint_bmp.c
文件 635 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDapppaint_bmp.h
文件 15415 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDBasicLcd.ewd
文件 19652 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDBasicLcd.ewp
文件 769 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDBasicLcd.eww
目录 0 2008-11-01 14:48 NXPLH75401LogicPDBasicLCDoard
文件 3480 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDoardarm_comm.h
文件 1371 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDoardoard.h
文件 1866 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDoardlh754xx_low_init.c
目录 0 2008-11-01 14:48 NXPLH75401LogicPDBasicLCDconfig
文件 2892 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDconfigStandAloneFlashLH75401LPD.icf
目录 0 2008-11-01 14:48 NXPLH75401LogicPDBasicLCDmodule
文件 8893 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDmodulelcd_drv.c
文件 6375 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDmodulelcd_drv.h
文件 5673 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDmodulelh754xx_vic.c
文件 4271 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDmodulelh754xx_vic.h
文件 1970 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDmodulelq035q7db02_lcd.c
文件 860 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDmodulelq035q7db02_lcd.h
文件 9413 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDmodule ouch_scr.c
文件 4531 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDmodule ouch_scr.h
文件 1084 2007-11-28 18:07 NXPLH75401LogicPDBasicLCD
eadme.txt
目录 0 2008-11-01 14:48 NXPLH75401LogicPDLedblink
目录 0 2008-11-01 14:48 NXPLH75401LogicPDLedblinkoard
............此处省略2759个文件信息
/*************************************************************************
*
* Used with ICCARM and AARM.
*
* (c) Copyright IAR Systems 2006
*
* File name : main.c
* Description : Define main module
*
* History :
* 1. Date : May 5 2006
* Author : Stanimir Bonev
* Description : Create
*
* This example project shows how to use the IAR embedded Workbench
* for ARM to develop code for the Logic PD LH75401 evaluation boards.
*
* The goal of this demonstration project is to show how to use the LCD and
* the touch screen controller.
*
* $Revision: 18769 $
**************************************************************************/
#include “includes.h“
#define DRW_SCR_X 0
#define DRW_SCR_Y 16
#define DRW_SCR_SIZE_X 240
#define DRW_SCR_SIZE_Y 264
#define NEW_SCR_X 8
#define NEW_SCR_Y 287
#define NEW_SCR_SIZE_X 28
#define NEW_SCR_SIZE_Y 28
#define CB_X 44
#define CB_Y 288
#define CB_SIZE_X 185
#define CB_SIZE_Y 28
const Int8U Colors [] =
{
0x000xFF0x1F0x1C0xE00x03
};
#pragma data_alignment=4
__no_init Int8U frameBuffer[LCD_WIDTH*LCD_HEIGHT*1/*BPP 8 bit*/];
/*************************************************************************
* Function Name: IRQ_Handler
* Parameters: none
*
* Return: none
*
* Description: IRQ Handler
*
*************************************************************************/
__irq __arm void IRQ_Handler(void)
{
void (*interrupt_function)();
unsigned int vector;
vector = VIC_VectAddr; // Get interrupt vector.
interrupt_function = (void(*)())vector;
(*interrupt_function)(); // Call vectored interrupt function
VIC_VectAddr = 0; // Clean interrupt in VIC
}
/*************************************************************************
* Function Name: Timr0_handler
* Parameters: none
*
* Return: none
*
* Description: Timer 0 interrupt Handler
*
*************************************************************************/
void Timr0_handler(void)
{
TIMER0_STATUS_bit.CMP1_ST = 1; // Clean interrupt
TouchScrStartMesure();
}
/*************************************************************************
* Function Name: LoadPicture
* Parameters: pInt32U pSrc pInt32U pDst
*
* Return: none
*
* Description: Load Picture
*
*************************************************************************/
void LoadPicture (pInt32U pSrc pInt32U pDst)
{
Int32U i Size;
if((pDst == NULL) || (pSrc == NULL))
{
return;
}
for(i = 0 Size = *pSrc pSrc += 4;
i < Size;
++i ++pSrc ++pDst)
{
*pDst = *pSrc;
}
}
/*************************************************************************
* Function Name: CheckRectangle
* Parameters: Int32U X_up Int32U Y_up - rectangle coordinate
* Int32U X_size Int32U Y_size - rectangle size
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2008-11-01 14:49 NXP
目录 0 2008-11-01 14:48 NXPLH75401
目录 0 2008-11-01 14:48 NXPLH75401LogicPD
目录 0 2008-11-01 14:48 NXPLH75401LogicPDBasicLCD
目录 0 2008-11-01 14:48 NXPLH75401LogicPDBasicLCDapp
文件 721 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDappincludes.h
文件 6898 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDappmain.c
文件 470376 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDappPaint_bmp.c
文件 635 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDapppaint_bmp.h
文件 15415 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDBasicLcd.ewd
文件 19652 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDBasicLcd.ewp
文件 769 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDBasicLcd.eww
目录 0 2008-11-01 14:48 NXPLH75401LogicPDBasicLCDoard
文件 3480 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDoardarm_comm.h
文件 1371 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDoardoard.h
文件 1866 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDoardlh754xx_low_init.c
目录 0 2008-11-01 14:48 NXPLH75401LogicPDBasicLCDconfig
文件 2892 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDconfigStandAloneFlashLH75401LPD.icf
目录 0 2008-11-01 14:48 NXPLH75401LogicPDBasicLCDmodule
文件 8893 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDmodulelcd_drv.c
文件 6375 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDmodulelcd_drv.h
文件 5673 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDmodulelh754xx_vic.c
文件 4271 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDmodulelh754xx_vic.h
文件 1970 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDmodulelq035q7db02_lcd.c
文件 860 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDmodulelq035q7db02_lcd.h
文件 9413 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDmodule ouch_scr.c
文件 4531 2007-11-28 18:07 NXPLH75401LogicPDBasicLCDmodule ouch_scr.h
文件 1084 2007-11-28 18:07 NXPLH75401LogicPDBasicLCD
eadme.txt
目录 0 2008-11-01 14:48 NXPLH75401LogicPDLedbl
目录 0 2008-11-01 14:48 NXPLH75401LogicPDLedbl
............此处省略2759个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)