📄 typedefs.h
字号:
/************************************************
*
* $Copyright 2001 Joseph J. Lemieux ALL RIGHTS RESERVED. $
*
* $Filename: C:\OSEKBook\src\CH05\inc\typedefs.h $
*
* Description: This file defines the types used in the
* book development. These types are used
* throughout the book.
*
************************************************/
#ifndef TYPEDEFSH
#define TYPEDEFSH
/************************************************
*
* Define integer types. These types are used to eliminate
* the undefined behavior of C
*
************************************************/
typedef unsigned char UINT8;
typedef signed char SINT8;
typedef unsigned short UINT16;
typedef signed short SINT16;
typedef unsigned long UINT32;
typedef signed long SINT32;
typedef unsigned long long UINT64;
typedef signed long long SINT64;
typedef UINT8 BOOLEAN;
/*****
*
* Define NULL pointer for use in programs
*
*****/
#define NULL ((void *)0x00000000)
/*****
*
* Define TRUE and FALSE
*
*****/
#define TRUE 1
#define FALSE 0
#endif /* TYPEDEFSH */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -