datatype.h

来自「c8051f040 内部集成的温度传感器使用 直接给出温度的函数」· C头文件 代码 · 共 37 行

H
37
字号
/*******************************/
/* define  alias               */
/*******************************/
#ifndef DATATYPE_H
  #define DATATYPE_H

typedef unsigned char   UNSIGNED8;
typedef unsigned char   WORD8;
typedef unsigned char   BITSET8;
typedef unsigned short  UNSIGNED16;
typedef unsigned short  WORD16;
typedef unsigned short  BITSET16;

typedef unsigned int uint;
typedef unsigned char uchar;
typedef unsigned long ulong;


typedef unsigned int    BITFIELD;
typedef unsigned char   BOOLEAN1;
typedef unsigned char   ANTIVALENT2;
typedef unsigned char   BCD4;
typedef unsigned char   ENUM4;
typedef unsigned char   ENUM8;
typedef char            INTEGER8;
typedef char            CHARACTER8;
typedef unsigned short  ENUM16;
typedef short           INTEGER16;
typedef float           REAL32;
typedef unsigned long   BITSET32;
typedef unsigned long   UNSIGNED32;
typedef long            INTEGER32;
typedef unsigned long   BITSET64;
typedef unsigned long   UNSIGNED64;
typedef long            INTEGER64;

#endif

⌨️ 快捷键说明

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