pcf8576d.h

来自「用NXP公司P89LPC9401单片机开发液晶显示,包括开发资料,各功能驱动程序」· C头文件 代码 · 共 29 行

H
29
字号
//***********************************************************************
//FILE:	pcf8576d.h
//功能:	定义LCD上图标的译码,对外声明不同模式下的显示函数
//***********************************************************************
#define	AMPic		0x08					//"AM"		上午
#define	PMPic		0x04					//"PM"		下午
#define	DOTPic		0x02					//"DOT"		冒号	
#define	WDAYPic		0x10					//"DOW"		星期
#define	DAYPic		0x20					//"DAY"		日
#define	MONTHPic	0x40					//"MONTH"	月
#define	YEARPic		0x80					//"YEAR"	年
#define	PLUSPic		0x80					//"+"		正
#define	MINUSPic	0x40					//"-"		负
#define	TEMPPic	    0x20					//"'C"		度
#define DPPic		0x10					//"DP"		8段中的点
#define	ALARMPic	0x10					//"V"		闹钟状态用V来指示
//***********************************************************************
extern	void  PCF8576Clock(bit);			//时间显示模式的显示函数
extern	void  PCF8576Date();				//日期显示模式的显示函数	
extern	void  PCF8576Wday();				//星期显示模式的显示函数
extern	void  PCF8576Year();				//年显示模式的显示函数
extern	void  PCF8576Temp();				//温度显示模式的显示函数
extern	void  PCF8576Alarm();				//闹钟显示模式的显示函数
extern	void  PCF8576Cdate();				//农历日期显示函数
extern	void  PCF8576Cyear();				//农历年显示模式
extern	void  PCF8576Modify(uchar b);		//修改状态显示
extern	void  PCF8576Mode(bit dot);			//模式显示函数
//*******************************END*************************************		

⌨️ 快捷键说明

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