pnl.h

来自「svpwm实现」· C头文件 代码 · 共 29 行

H
29
字号
#ifndef __PNL_H__
#define __PNL_H__

#define U_QMAX 1024
#define F_QMAX 128

typedef struct 
{ 
 void(*calc)(void*);
  unsigned rf;
  unsigned rul;
  unsigned rudc;
  unsigned run;

  unsigned f;
  unsigned ul_max;
  unsigned udc;
}PNL;

#define PNL_DEFAULTS {     \
 (void(*)(void*))pnl_calc,\
  50,                     \
  180,                   \
  310,                   \
  0  ,                    \
}
typedef PNL *PNL_Handle;
void pnl_calc(PNL_Handle);
#endif

⌨️ 快捷键说明

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