datasize.h
来自「nucleus 的以太网协议栈」· C头文件 代码 · 共 24 行
H
24 行
/*
* Setup the current limits and size type defs for the defined processor.
* This will define constants for the sizes of integral types, with
* minimums and maximum values allowed for the define.
* Note: mins and maxs will be different for different processors.
* Size (Bytes) Alignment (Bytes)
*/
#ifndef DATASIZE_H
#define DATASIZE_H
/* size casting */
typedef char int8; /* 1 1 */
typedef unsigned char uint8; /* 1 1 */
typedef short int int16; /* 2 2 */
typedef unsigned short uint16; /* 2 2 */
typedef long int int32; /* 4 4 */
typedef unsigned long uint32; /* 4 4 */
typedef unsigned char BOOL;
#define FALSE 0
#define TRUE 1
#endif /* DATASIZE_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?