![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
forkd
Fork of LG2 by
host/Source/App/SIP.h@23:12e6183f04d4, 2016-02-03 (annotated)
- Committer:
- Kovalev_D
- Date:
- Wed Feb 03 10:44:42 2016 +0300
- Revision:
- 23:12e6183f04d4
[thyz
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kovalev_D |
23:12e6183f04d4 | 1 | |
Kovalev_D |
23:12e6183f04d4 | 2 | #define MAX_QEI_CNT 2147483646 //e .limit of input counter (INT32_MAX - 1) |
Kovalev_D |
23:12e6183f04d4 | 3 | #define INT32MAX_DIV2 1073741823 //e. 0.5*MAX_QEI_CNT |
Kovalev_D |
23:12e6183f04d4 | 4 | #define INT32MIN_DIV2 -1073741823 //e. -0.5*MAX_QEI_CNT |
Kovalev_D |
23:12e6183f04d4 | 5 | |
Kovalev_D |
23:12e6183f04d4 | 6 | #define SHIFT_TO_FRACT (18) //e. shift for converting integer to float (14.18) format //r. ñäâèã äëÿ ïðåîáðàçîâàíèÿ öåëîãî ÷èñëà ê äðîáíîìó ôîðìàòó 14.18 |
Kovalev_D |
23:12e6183f04d4 | 7 | |
Kovalev_D |
23:12e6183f04d4 | 8 | //#define OUTFREQ |
Kovalev_D |
23:12e6183f04d4 | 9 | //#define RATESIM |
Kovalev_D |
23:12e6183f04d4 | 10 | //#define GLOBALRATE |
Kovalev_D |
23:12e6183f04d4 | 11 | #define CONSTCYCLE |
Kovalev_D |
23:12e6183f04d4 | 12 | //#define DITHERSIM |
Kovalev_D |
23:12e6183f04d4 | 13 | |
Kovalev_D |
23:12e6183f04d4 | 14 | extern unsigned Cnt_curr; |
Kovalev_D |
23:12e6183f04d4 | 15 | extern unsigned Curr_Cnt_Vib; |
Kovalev_D |
23:12e6183f04d4 | 16 | extern int Dif_Curr_Vib; |
Kovalev_D |
23:12e6183f04d4 | 17 | extern int Dif_RG_vib_32; |
Kovalev_D |
23:12e6183f04d4 | 18 | extern int Dif_Curr_32; |
Kovalev_D |
23:12e6183f04d4 | 19 | extern __int64 Dif_RG_vib_64; |
Kovalev_D |
23:12e6183f04d4 | 20 | |
Kovalev_D |
23:12e6183f04d4 | 21 | extern int WP_scope3, WP_scope4; |
Kovalev_D |
23:12e6183f04d4 | 22 | /* |
Kovalev_D |
23:12e6183f04d4 | 23 | extern int Dif_Curr_Array[8]; |
Kovalev_D |
23:12e6183f04d4 | 24 | extern int Dif_Filt_Array[8]; |
Kovalev_D |
23:12e6183f04d4 | 25 | */ |
Kovalev_D |
23:12e6183f04d4 | 26 |