⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 field_prof.h

📁 TI的digital motor control lib的源代码。了解TI的编程规范
💻 H
字号:
/* =================================================================================
File name:        FIELD_PROF.H                     
                    
Originator:	Digital Control Systems Group
			Texas Instruments

Description: 
Header file containing constants, data type definitions, and 
function prototypes for the FIELDPROF module.
=====================================================================================
 History:
-------------------------------------------------------------------------------------
 02-08-2001		Release	Rev 1.0                                                   
------------------------------------------------------------------------------*/

#ifndef __FIELD_PROF_H__
#define __FIELD_PROF_H__

typedef struct {  int  spd_ref_fp;      /* Input: Reference speed (Q15) */
				  int  spd_abs;         /* Variable: Absolute reference speed (Q15) */
				  int  spd_1;		 	/* Parameter: Rated speed (Q15) */
				  int  id_1;			/* Parameter: Maximum value of d-axis stator current (Q15) */			
		 	 	  int  id_ref_fp;		/* Output: Reference d-axis stator current (Q15) */
		 	 	  int  (*calc)();	  	/* Pointer to calculation function */ 
				 } FIELDPROF;	            

/*-----------------------------------------------------------------------------
Default initalizer for the FIELDPROF object.
-----------------------------------------------------------------------------*/                     
#define FIELDPROF_DEFAULTS { 0x0000, \
                          0x0000, \
                          0x4000, \
                          0x2800, \
                          0x0000, \
              			  (int (*)(int))field_profile_calc }

/*------------------------------------------------------------------------------
Prototypes for the functions in FIELD_PROF.ASM
------------------------------------------------------------------------------*/
void field_profile_calc(FIELDPROF *);

#endif /* __FIELD_PROF_H__ */

⌨️ 快捷键说明

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