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

📄 userdef.h

📁 对合泰单片机的内部EEPROGRAM读写的例程
💻 H
字号:
/*******************************************************************************
*                                                                            
*	Filename:UserDef.h
*
*  	Author:			Ricky
*  	Company:    	Holtek
*	
*******************************************************************************/
//------------------------------------------------------------------------------
//User Parameter Defines
//------------------------------------------------------------------------------
typedef unsigned char UC;
typedef unsigned int UI;
typedef unsigned long UL;

#define	cSetb0		0x01
#define	cSetb1		0x02
#define	cSetb2		0x04
#define	cSetb3		0x08
#define	cSetb4		0x10
#define	cSetb5		0x20
#define	cSetb6		0x40
#define	cSetb7		0x80

#define	cClrb0		0xfe
#define	cClrb1		0xfd
#define	cClrb2		0xfb
#define	cClrb3		0xf7
#define	cClrb4		0xef
#define	cClrb5		0xdf
#define	cClrb6		0xbf
#define	cClrb7		0x7f

#define	cTestb0		0x01
#define	cTestb1		0x02
#define	cTestb2		0x04
#define	cTestb3		0x08
#define	cTestb4		0x10
#define	cTestb5		0x20
#define	cTestb6		0x40
#define	cTestb7		0x80

#define true		1
#define	false		0

⌨️ 快捷键说明

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