atan2_tab.h

来自「TI公司28XDSP控制永磁同步电机(PMSM)」· C头文件 代码 · 共 34 行

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

Description: 
Header file containing constants, data type definitions, and 
function prototypes for the ATAN2TAB.
=====================================================================================
 History:
-------------------------------------------------------------------------------------
 04-15-2005	Version 3.20                                                  
------------------------------------------------------------------------------*/

typedef struct {  float32  X;      		// Input: x argument 
	              float32  Y;		  	// Input: y argument  
	              float32  Angle;      	// Output: angle (pu)  
		 	 	  void  (*calc)();	  	// Pointer to calculation function
				 } ATAN2TAB;	            

typedef ATAN2TAB *ATAN2TAB_handle;
/*-----------------------------------------------------------------------------
Default initalizer for the ATAN2TAB object.
-----------------------------------------------------------------------------*/                     
#define ATAN2TAB_DEFAULTS {  0,0,0, \
             			 (void (*)(Uint32))atan2_tab_calc }

/*------------------------------------------------------------------------------
Prototypes for the functions in ATAN2_TAB.C
------------------------------------------------------------------------------*/
void atan2_tab_calc(ATAN2TAB_handle);

⌨️ 快捷键说明

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