build.h

来自「本程序来自TI公司网站原程序,其功能是通过传统的矢量控制算法来实现对永磁同步电机」· C头文件 代码 · 共 42 行

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

Description: 
Incremental Build Level control file.
=====================================================================================
 History:
-------------------------------------------------------------------------------------
 9-15-2000	Release	Rev 1.0                                                   
------------------------------------------------------------------------------*/

#ifndef BUILDLEVEL 

/*------------------------------------------------------------------------------
Following is the list of the Build Level choices.
------------------------------------------------------------------------------*/
#define LEVEL1  1      		/* SVGEN_DQ and FC_PWM_DRV tests */
#define LEVEL2  2           /* Currents measurement test */
#define LEVEL3  3           /* Two current PI regulator tests */
#define LEVEL4  4           /* QEP test and angle calibration */
#define LEVEL5  5           /* SMOPOS test comparing with angle based QEP */
#define LEVEL6  6           /* Speed closed loop using measured speed based QEP */
#define LEVEL7  7           /* Speed closed loop using estimated speed based SMOPOS */

#define ALWAYS_RUN

/*------------------------------------------------------------------------------
This line sets the BUILDLEVEL to one of the available choices.
------------------------------------------------------------------------------*/
#define   BUILDLEVEL LEVEL1


#ifndef BUILDLEVEL    
#error  Critical: BUILDLEVEL must be defined !!
#endif  /* BUILDLEVEL */

#endif  /* BUILDLEVEL */

⌨️ 快捷键说明

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