📄 def.h
字号:
/**************************************************************************************
*
* Project Name : S3C6400 Validation
*
* Copyright 2006 by Samsung Electronics, Inc.
* All rights reserved.
*
* Project Description :
* This software is only for validating functions of the S3C6400.
* Anybody can use this software without our permission.
*
*--------------------------------------------------------------------------------------
*
* File Name : def.h
*
* File Description : This file defines some types used commonly.
*
* Author : Haksoo,Kim
* Dept. : AP Development Team
* Created Date : 2006/11/08
* Version : 0.1
*
* History
* - Created(Haksoo,Kim 2006/11/08)
*
**************************************************************************************/
#ifndef __DEF_H__
#define __DEF_H__
#ifdef __cplusplus
extern "C" {
#endif
// Type defines
typedef unsigned long u32;
typedef unsigned short u16;
typedef unsigned char u8;
typedef signed long s32;
typedef signed short s16;
typedef signed char s8;
typedef unsigned char bool;
#define FALSE (0)
#define TRUE (1)
#define false (0)
#define true (1)
#define Getc UART_Getc
#define Putc UART_Putc
#define GetKey UART_GetKey
#define Disp printf
typedef struct testFuncMenu {
void (*func)(void);
const char *desc;
} testFuncMenu;
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -