usb_prefix.h

来自「COLDFIRE 5275板极初始化程序」· C头文件 代码 · 共 38 行

H
38
字号
/*
 * File:		mwerks_prefix.h
 * Purpose:		
 *
 * Notes:
 */

#ifndef _MWERKS_PREFIX_H_
#define _MWERKS_PREFIX_H_

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

/*
 * Define the board this project is targetting
 */
#define USB

/* 
 * MetroWerks looks for an underscore prepended to C function names
 * The source checks for this and handles it appropriately.
 */
#define _UNDERSCORE_

/* Define a constant to inform files we are using CodeWarrior */
#ifndef __MWERKS__
#define __MWERKS__
#endif

/* Modify the interrupt type to work with CodeWarrior */
#define __interrupt__	__declspec(interrupt)

/* Force functions to return values in D0 */
#pragma pointers_in_D0

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

#endif /* _MWERKS_PREFIX_H_ */

⌨️ 快捷键说明

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