📄 common.h
字号:
/*******************************************************************************************************
* *
* ********** *
* ************ *
* *** *** *
* *** +++ *** *
* *** + + *** This file contains commonly used types and is included in *
* *** + halsrf04.h, and halxx10.h *
* *** + + *** *
* *** +++ *** common.h *
* *** *** *
* ************ *
* ********** *
* *
*******************************************************************************************************
* Compiler: WINAVR *
* Target platform: Chipcon CCxxx0 (any ATMEGA MCU) *
* Author: WangChaoyan *
*******************************************************************************************************
* Revision history: See end of file *
******************************************************************************************************/
#ifndef COMMON_H
#define COMMON_H
/*******************************************************************************************************
*******************************************************************************************************
************************** Commonly used types ****************************
*******************************************************************************************************
*******************************************************************************************************/
//-------------------------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------------------------
// Common data types
typedef unsigned char BOOL;
typedef unsigned char BYTE;
typedef unsigned short WORD;
typedef unsigned long DWORD;
typedef unsigned long long QWORD;
typedef unsigned char UINT8;
typedef unsigned short UINT16;
typedef unsigned long UINT32;
typedef unsigned long long UINT64;
typedef signed char INT8;
typedef signed short INT16;
typedef signed long INT32;
typedef signed long long INT64;
// Common values
#ifndef FALSE
#define FALSE 0
#endif
#ifndef TRUE
#define TRUE 1
#endif
#ifndef NULL
#define NULL 0
#endif
//-------------------------------------------------------------------------------------------------------
#endif// COMMON_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -