userdef.h
来自「对合泰单片机的内部EEPROGRAM读写的例程」· C头文件 代码 · 共 45 行
H
45 行
/*******************************************************************************
*
* 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 + =
减小字号Ctrl + -
显示快捷键?