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

📄 polar_rect_c.h

📁 f2407:电机控制
💻 H
字号:
/*-----------------------------------------------------------------
File name: polar_rectangular_c.h

Description: this file included the type definition of structure 
polar_rect, which is used to save the return value of the function.
The functon prototype statment is included in this file too.
-----------------------------------------------------------------*/

/*-----------------------------------------------------------------
structure definition:
-----------------------------------------------------------------*/
typedef struct
	{	int ualfa;			//ualfa=uout*cos(theta), Q15
		int ubeta;          //ubeta=uout*sin(theta), Q15
	}polar_rect; 
/*-----------------------------------------------------------------
function prototype statment
-----------------------------------------------------------------*/
extern void polar_rectangular(polar_rect *p, int uout, int costheta, int sintheta);

⌨️ 快捷键说明

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