polar_rect_c.h
来自「f2407:电机控制」· C头文件 代码 · 共 21 行
H
21 行
/*-----------------------------------------------------------------
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 + =
减小字号Ctrl + -
显示快捷键?