build.h

来自「TI公司24X系列DSP控制永磁同步电机PMSM」· C头文件 代码 · 共 40 行

H
40
字号
/* =================================================================================
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           /* Speed closed loop using measured speed based QEP */

#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 + -
显示快捷键?