ATmega16L驱动ILI9325/9328
时间:11-20
来源:互联网
点击:
- (c)**************************************************
- **SoutheastUniversity
- **--------------FileInfo-------------------------------------------------------------------------------
- **FileName:Delay.h
- **LastmodifiedDate:2012-03-23
- **LastVersion:1.0
- **Description:延时函数声明
- **------------------------------------------------------------------------------------------------------
- **CreatedBy:JianGe
- **Createddate:2012-03-23
- **Version:1.0
- **------------------------------------------------------------------------------------------------------*/
- #ifndefDELAY_H_H_
- #defineDELAY_H_H_
- #defineDELAY_USasm("nop");asm("nop");asm("nop");asm("nop");\
- asm("nop");asm("nop");asm("nop");asm("nop");
- externvoidDelay_nUS(unsignedintn);
- externvoidDelay_MS(void);
- externvoidDelay_nMS(unsignedintn);
- #endif
- /*********************************************************************************************************
- *EndOfFile*
- *********************************************************************************************************/
文件名:LCDDriver.h,LCD驱动函数和应用函数的声明
- /****************************************Copyright(c)**************************************************
- **SoutheastUniversity
- **--------------FileInfo-------------------------------------------------------------------------------
- **FileName:LCD_Driver.h
- **LastmodifiedDate:2012-03-24
- **LastVersion:1.0
- **Description:LCD驱动函数声明
- **------------------------------------------------------------------------------------------------------
- **CreatedBy:JianGe
- **Createddate:2012-03-24
- **Version:1.0
- **------------------------------------------------------------------------------------------------------*/
- #ifndefLCD_DRIVER_H_H_
- #defineLCD_DRIVER_H_H_
- #include"Type.h"
- #include
- externvoidLCD_Port_Init(void);
- externvoidLCD_WriteCmd(uint32regID);
- externvoidLCD_WriteData(uint32data);
- externvoidLCD_WriteReg(uint32regID,uint32regData);
- externunsignedintLCD_ReadReg(uint32regID);
- externvoidLCD_ILI9325_Init(void);
- externvoidLCD_SetWindow(unsignedintx0,unsignedintx1,unsignedinty0,unsignedinty1);
- externvoidLCD_ClearScreen(unsignedintcolor);
- externvoidLCD_Fill_Rectangle(unsignedintx0,unsignedinty0,unsignedintx1,unsignedinty1,unsignedintcolor);
- externunsignedcharGet_CharOffset(unsignedcharchar_data);
- externvoidSet_CharWindow(unsignedintlineNum,unsignedintrowNum);
- externvoidLCD_WriteChar(unsignedintlineNum,
- unsignedintrowNum,
- unsignedintcharColor,
- unsignedintbkColor,
- unsignedcharchChar)
- externvoidLCD_WriteString(unsignedcharlineNum,unsignedcharrowNum,
- unsignedintcharColor,
- unsignedintbkColor,
- unsignedchar*p_str)
- #endif
- /*********************************************************************************************************
- *EndOfFile*
- *********************************************************************************************************/
文件名:LCD_Font.h LCD字体库的声明
- /****************************************Copyright(c)**************************************************
- **SoutheastUniversity
- **--------------FileInfo-------------------------------------------------------------------------------
- **FileName:LCD_Font.h
- **LastmodifiedDate:2012-03-27
- **LastVersion:1.0
- **Description:LCD显示字符的字节表
- **------------------------------------------------------------------------------------------------------
- **CreatedBy:JianGe
- **Createddate:2012-03-27
- **Version:1.0
- **------------------------------------------------------------------------------------------------------*/
- #ifndefLCD_FONT_H_H_
- #defineLCD_FONT_H_H_
- //常用ASCII字符码表
- constunsignedcharLetter[][16]=
- {
- //第一栏从到?
- {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*"",0*/
- {0x00,0x00,0x00,0x10,0x10,0x10,0x1
ATmega16LILI9325932 相关文章:
- Windows CE 进程、线程和内存管理(11-09)
- RedHatLinux新手入门教程(5)(11-12)
- uClinux介绍(11-09)
- openwebmailV1.60安装教学(11-12)
- Linux嵌入式系统开发平台选型探讨(11-09)
- Windows CE 进程、线程和内存管理(二)(11-09)