📄 stdtype.h
字号:
/***********************************************************************/
/* */
/* MODULE: bsps/KS32C50K/src/StdType.h */
/* PURPOSE: standard types to be used in C files */
/* Description: Ver.1.0. 99/03/01. by Shin. */
/* */
/*---------------------------------------------------------------------*/
/* COPYRIGHT 1999 SAMSUNG ELECTRONICS. */
/* INTEGRATED SYSTEMS, INC. */
/*---------------------------------------------------------------------*/
/* */
/* */
/***********************************************************************/
//#define FAST register
//#define IMPORT extern
//#define LOCAL static
#define TRUE 1
#define FALSE 0
#define OK 0
#define Error (-1)
#define NULL 0
#define USEROM 2
#define LIB 1
#define YES 1
#define NO 0
//typedef char INT8;
//typedef short INT16;
//typedef int INT32;
//typedef unsigned char UINT8;
//typedef unsigned short UINT16;
//typedef unsigned int UINT32;
#define S8 signed char
#define S16 signed short
#define S32 signed long
#define U8 unsigned char
#define U16 unsigned short
#define U32 unsigned long
#define REG8 volatile unsigned char
#define REG16 volatile unsigned short
#define REG32 volatile unsigned long
#define BYTE unsigned char
//#define uint_t UINT32
//#define VPint *(volatile unsigned int *)
//#define VPshort *(volatile short int *)
//#define VPchar *(volatile unsigned char *)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -