Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of LG by
Global.h
00001 00002 #ifndef Global_H 00003 #define Global_H 00004 00005 00006 #include "LPC17xx.h" 00007 00008 #include "mathDSP.h" 00009 #include "InputOutput.h" 00010 #include "CyclesSync.h" 00011 #include "CntrlGLD.h" 00012 #include "stdlib.h" 00013 #include "SIP.h" 00014 00015 #include "CntrlGLD.h" 00016 00017 #include "Parameters.h" 00018 #include "el_lin.h" 00019 00020 #include "CntrlGLD.h" 00021 00022 00023 #include "CntrlGLD.h" 00024 #include "commandset.h" 00025 00026 00027 00028 #include "el_lin.h" 00029 #include "CyclesSync.h" 00030 #include "Parameters.h" 00031 #include "Dither_Reg.h" 00032 #include "commandset.h" 00033 #include "CntrlGLD.h" 00034 #include "InputOutput.h" 00035 00036 00037 00038 #include "stdlib.h" 00039 #include "console.h" 00040 #include "vibro.h" 00041 #include "QEI.h" 00042 #include "MTimer.h" 00043 00044 #include "SPI.h" 00045 #include "uart_m.h" 00046 #include "Command.h" 00047 00048 00049 #include "mathDSP.h" 00050 00051 #include "CntrlGLD.h" 00052 #include "CyclesSync.h" 00053 #include "dspfns.h" 00054 #include "SIP.h" 00055 #include "el_lin.h" 00056 00057 00058 #include "InputOutput.h" 00059 #include "CyclesSync.h" 00060 #include "LPC17xx.h" 00061 //-------------------temp------- 00062 #include "el_lin.h" 00063 00064 #include "QEI.h" 00065 #include "vibro.h" 00066 #include "MTimer.h" 00067 00068 00069 #include "mathDSP.h" 00070 #include "CyclesSync.h" 00071 #include "ThermoCalc.h" 00072 #include "CntrlGLD.h" 00073 #include "InputOutput.h" 00074 #include "ThermoCalc.h" 00075 #include "CyclesSync.h" 00076 #include "CntrlGLD.h" 00077 #include "InputOutput.h" 00078 00079 00080 #include "console.h" 00081 00082 #include "CyclesSync.h" 00083 00084 00085 00086 00087 00088 #include "InputOutput.h" 00089 #include "CyclesSync.h" 00090 #include "CntrlGLD.h" 00091 #include "stdlib.h" 00092 #include "SIP.h" 00093 #include "console.h" 00094 00095 00096 00097 #include "mathDSP.h" 00098 #include "InputOutput.h" 00099 #include "CntrlGLD.h" 00100 00101 00102 #include "CyclesSync.h" 00103 #include "CntrlGLD.h" 00104 #include "el_lin.h" 00105 00106 00107 #include "commandset.h" 00108 #include "el_lin.h" 00109 #include "CyclesSync.h" 00110 #include "CntrlGLD.h" 00111 #include "InputOutput.h" 00112 #include "Parameters.h" 00113 00114 00115 00116 00117 00118 00119 00120 #define BackLightOFF LPC_GPIO2->FIOSET =(1<<12); 00121 #define BackLightON LPC_GPIO2->FIOCLR =(1<<12); 00122 #define LightUpON LPC_GPIO0->FIOSET = (1<<4); 00123 #define LightUpOFF LPC_GPIO0->FIOCLR = (1<<4); 00124 00125 #define TakeByte & 0xFF 00126 #define deltaDAC 11400.857 //ноль ЦАПа 00127 00128 //#define K_DAC 0.843 00129 extern float DACF, K_DAC; 00130 extern unsigned int VibroReg; 00131 extern void VibroPush(void); 00132 extern void VibroPull(void); 00133 extern void ButtonLightUP(void); 00134 extern unsigned long Global_Time, Time_UART,Time_Sec,Time_vibro,Time_1kHz; 00135 extern unsigned long MaxAmp; 00136 extern unsigned int LightUpCount,BackLightCount,secPuls; 00137 extern unsigned char BuffTemp[]; 00138 extern unsigned char Time[]; 00139 extern unsigned int Event1Hz; 00140 extern unsigned int Event1K; 00141 extern unsigned int Event100K; 00142 extern unsigned int EventVibro; 00143 extern unsigned int Time1K; 00144 extern unsigned int Time100K; 00145 extern unsigned int Time1Hz; 00146 extern unsigned int Clock1Hz; 00147 extern unsigned int ShiftD; 00148 extern unsigned int ShiftL; 00149 #define StartShiftD 0x00000005 00150 #define StartShiftL 0x0000000a 00151 00152 00153 //#ifndef Global_H 00154 //#define Global_H 00155 #endif // Global_H 00156
Generated on Tue Jul 12 2022 15:16:11 by
1.7.2
