📄 polar_rect_c.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 + -