⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lcd.h

📁 mb90340的擦写FLASH区小小 程序
💻 H
字号:
/* THIS SAMPLE CODE IS PROVIDED AS IS AND IS SUBJECT TO ALTERATIONS. FUJITSU */
/* MICROELECTRONICS ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR */
/* ELIGIBILITY FOR ANY PURPOSES.                                             */
/*                 (C) Fujitsu Microelectronics Europe GmbH                  */
/*******************************************************************
  LCD.H		
  Prototypes and constants for functions
  supporting the LCD on the MB91364 Starterkit 
 *******************************************************************/

#ifndef _LCD_H
#define _LCD_H

/* Control defines (use with LCDoutb) : */

#define LCD_CLR		 0x01
#define LCD_HOME	 0x03
#define LCD_CUROFF	 0x0C
#define LCD_CURON	 0x0F
#define LCD_NOSHIFT	 0x06
#define LCD_1st_line 0x80
#define LCD_2nd_line 0xC0
#define LCD_3rd_line 0x94
#define LCD_4th_line 0xD4

/* Prototypes */

void LCDinitdisp(void);
void LCDoutb(unsigned char);
void LCDgoto(unsigned char address);
void LCDprint(char *Name2);
void LCDprintnum(int n);
void LCDprinthex(unsigned long n, unsigned char digits);
void LCDprinttime(int h,int m,int s);
void LCDprintdate(int dw,int dr,int mr, int yr);
void LCDmovscr(char *Name2, unsigned long delay);
void LCDwait(unsigned long i);
void LCDbusy(void);

#endif /* LCD_H */


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -