common.h

来自「I wrote this code early this year using 」· C头文件 代码 · 共 52 行

H
52
字号
/*
 * File:		common.h
 * Purpose:		File to be included by all project files
 *
 * Notes:
 */

#ifndef _COMMON_H_
#define _COMMON_H_

/********************************************************************/

/*
 * Debug prints ON (#define) or OFF (#undef)
 */
#define DEBUG_PRINT

/* 
 * Include the generic CPU header file 
 */
#include "mcf5xxx.h"

/* 
 * Include the specific CPU header file 
 */
#include "mcf5213.h"

/* 
 * Include any toolchain specfic header files 
 */

#include "mwerks.h"

/* 
 * Include the board specific header file 
 */

#if (defined(M5213EVB))
#include "m5213evb.h"
#else
#error "No valid platform defined"
#endif


/* 
 * Include common utilities
 */

/********************************************************************/

#endif /* _COMMON_H_ */

⌨️ 快捷键说明

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