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

📄 volt_freq_c.h

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


Description:
	This file include the function prototype statment and the type define
of the output structure variable. Some nessecary defult values of the output
variable are included in the file too.
-------------------------------------------------------------------------*/
/*------------------------------------------------------------------------
structure type variable definition:
--------------------------------------------------------------------------*/
typedef struct 
	{	int slope;		//Q12, slope between voltage and frequence in the VHz control
						//for rating voltage, vref=0x1000, and rating freuqence=0x7fff
						//slope=2^12*vref/frequence=2^12*0x1000/0x7fff=0x200
		int uout;       //Q15, return of function
	}vhz_volt;                                   
/*--------------------------------------------------------------------------
defult value of structure variable:
---------------------------------------------------------------------------*/
/*vhz_volt DEFULT_VALUE
	{	0x2000;
		0x0;
	};*/
/*---------------------------------------------------------------------------
function prototype statment
----------------------------------------------------------------------------*/
extern void volt_freq(vhz_volt *p, int freq);


 	
 

⌨️ 快捷键说明

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