复件 config.h

来自「at90can128底层驱动 有SPI,TWI,总线,CAN接口等」· C头文件 代码 · 共 33 行

H
33
字号
#ifndef _COMPILER_H_
#define _COMPILER_H_

/*头文件*/
#include <iom16v.h>
#include <macros.h>


/*数据类型定义*/
typedef unsigned char       uchar;
typedef float               Float16;

typedef unsigned char 		bit;
typedef unsigned char       Uint8;
typedef unsigned int        uint;
typedef unsigned long int   Uint32;

typedef char                Int8;
typedef int                 Int16;
typedef long int            Int32;

typedef unsigned char       Bool;
typedef unsigned char       Byte;
typedef unsigned int        Word;
typedef unsigned long int   DWord;

/*宏定义*/
#define FALSE   0
#define TRUE    1

#endif /* _COMPILER_H_ */

⌨️ 快捷键说明

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