![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
n
Fork of LG by
SIP.h
- Committer:
- igor_v
- Date:
- 2016-01-30
- Revision:
- 0:8ad47e2b6f00
- Child:
- 21:bc8c1cec3da6
File content as of revision 0:8ad47e2b6f00:
#define MAX_QEI_CNT 2147483646 //e .limit of input counter (INT32_MAX - 1) #define INT32MAX_DIV2 1073741823 //e. 0.5*MAX_QEI_CNT #define INT32MIN_DIV2 -1073741823 //e. -0.5*MAX_QEI_CNT #define SHIFT_TO_FRACT (18) //e. shift for converting integer to float (14.18) format //r. ñäâèã äëÿ ïðåîáðàçîâàíèÿ öåëîãî ÷èñëà ê äðîáíîìó ôîðìàòó 14.18 //#define OUTFREQ //#define RATESIM //#define GLOBALRATE #define CONSTCYCLE //#define DITHERSIM extern unsigned Cnt_curr; extern unsigned Curr_Cnt_Vib; extern int Dif_Curr_Vib; extern int Dif_RG_vib_32; extern int Dif_Curr_32; extern __int64 Dif_RG_vib_64; extern int WP_scope3, WP_scope4; /* extern int Dif_Curr_Array[8]; extern int Dif_Filt_Array[8]; */