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

📄 softsvpwm_c.h

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

Discription:
	This file include the definition of structure softsvpwm and the 
function prototype statment of soft_svpwm.
-------------------------------------------------------------------*/
/*-------------------------------------------------------------------
structure type definition
-------------------------------------------------------------------*/
typedef struct
	{	int Vdcinvt;	//Q0, coefficient
		int PWMPRD;		//Q0, value of period register TxPR
		int va;			//Q0, CMPR1 register value as a fraction of associated period register, TxPR, value
		int vb;			//Q0, CMPR2 register value as a fraction of associated period register, TxPR, value
	    int vc;			//Q0, CMPR3 register value as a fraction of associated period register, TxPR, value
	}softsvpwm;
/*-------------------------------------------------------------------
function prototype statment
-------------------------------------------------------------------*/
extern void soft_svpwm(softsvpwm *p, int u_alfa, int u_beta);

⌨️ 快捷键说明

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