common.h
来自「基于usb开发板的hid键盘,使用者可根据此代码编写自己的HID设备」· C头文件 代码 · 共 22 行
H
22 行
//common.h
#ifndef __COMMON_H__
#define __COMMON_H__
#include <reg52.h>
#include <stdio.h>
#define uchar unsigned char
#define ushort unsigned short
#define uint unsigned int
#define ulong unsigned long
#define UCHAR unsigned char
#define USHORT unsigned short
#define UINT unsigned int
#define FALSE 0
#define TRUE (!FALSE)
#define BOOL char
#define DISABLE EA=0
#define ENABLE EA=1
void delay(uint time);
#endif //__COMMON_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?