基于TMS320F2812的永磁同步电机矢量控制软件部分

源代码在线查看: target.h

软件大小: 8293 K
上传用户: Jonson_zhu
关键词: F2812 2812 320F TMS
下载地址: 免注册下载 普通下载 VIP

相关代码

				/* =================================================================================
				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
				
							

相关资源