?? volt_freq_c.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 + -