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

📄 rmp_cntl.h

📁 TI 的DSP2407A的无速度传感器永磁同步电机FOC控制程序
💻 H
字号:
/* =================================================================================
File name:        RMP_CNTL.H                     
                    
Originator:	Digital Control Systems Group
			Texas Instruments

Description: 
Header file containing constants, data type definitions, and 
function prototypes for the RMPCNTL module.
=====================================================================================
 History:
-------------------------------------------------------------------------------------
 9-15-2000	Release	Rev 1.00                                                   
------------------------------------------------------------------------------*/

#ifndef __RMP_CNTL_H__
#define __RMP_CNTL_H__

 typedef struct { int  target_value; 	/* Input: Target input (Q15) */
				  int  rmp_dly_max;		/* Parameter: Maximum delay rate */			
		 	 	  int  rmp_lo_limit;	/* Parameter: Minimum limit (Q15) */					  
				  int  rmp_hi_limit;	/* Parameter: Maximum limit (Q15) */
				  int  rmp_delay_cntl;  /* Variable: Incremental delay  */	
				  int  setpt_value;		/* Output: Target output (Q15) */				 
				  int  s_eq_t_flg;		/* Output: Flag output */
		  	  	  int  (*calc)();	  	/* Pointer to calculation function */ 
				 } RMPCNTL;	            

/*-----------------------------------------------------------------------------
Default initalizer for the RMPCNTL object.
-----------------------------------------------------------------------------*/                     
#define RMPCNTL_DEFAULTS { 0x0000, \
                           0x0040, \
                          	0x8000, \
                          	0x7FFF, \
                          	0x0000, \
                          	0x0000, \
                          	0x0000, \
                   			(int (*)(int))rmp_cntl_calc }

/*------------------------------------------------------------------------------
Prototypes for the functions in RMP_CNTL.ASM
------------------------------------------------------------------------------*/
void rmp_cntl_calc(RMPCNTL *);

#endif /* __RMP_CNTL_H__ */

⌨️ 快捷键说明

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