target.h

来自「T TI公司28XDSP控制永磁同步电机PMSM」· C头文件 代码 · 共 45 行

H
45
字号
/* =================================================================================
File name:        TARGET.H                    
                    
Originator:	Digital Control Systems Group
			Texas Instruments

Description: 
Target device selection file.
=====================================================================================
 History:
-------------------------------------------------------------------------------------
 04-15-2005	Version 3.20                                                  
------------------------------------------------------------------------------*/
 
#ifndef DSP_TARGET 

/*------------------------------------------------------------------------------
Following is the selection list of the target choices.
Note that the F2808 also represents the F2801 and F2806 devices, 
and F2812 also represents the F2810 and F2811 devices.
------------------------------------------------------------------------------*/
#define F2808   1
#define F2812   2
#define UNKNOWN 4

/*------------------------------------------------------------------------------
This line sets the target to one of the available choices.
------------------------------------------------------------------------------*/
#ifdef TARGET_IS_F2808
#define DSP_TARGET F2808
#endif

#ifdef TARGET_IS_F2812
#define DSP_TARGET F2812
#endif


#ifndef DSP_TARGET     
#error  Critical: A target must be defined Please define a target in  the \
CCS Build Options/Compiler Tab/Preprocessor/ Symbol defines.
#endif  

#endif  // TARGET

⌨️ 快捷键说明

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