123
Fork of LG by
Global.h
- Committer:
- igor_v
- Date:
- 2016-02-02
- Revision:
- 16:18e3fd7b92d0
- Parent:
- 15:f5191a1c3805
- Child:
- 21:bc8c1cec3da6
File content as of revision 16:18e3fd7b92d0:
#ifndef Global_H #define Global_H #include "LPC17xx.h" #include "mathDSP.h" #include "InputOutput.h" #include "CyclesSync.h" #include "CntrlGLD.h" #include "stdlib.h" #include "SIP.h" #include "CntrlGLD.h" #include "Parameters.h" #include "el_lin.h" #include "CntrlGLD.h" #include "CntrlGLD.h" #include "commandset.h" #include "el_lin.h" #include "CyclesSync.h" #include "Parameters.h" #include "Dither_Reg.h" #include "commandset.h" #include "CntrlGLD.h" #include "InputOutput.h" #include "stdlib.h" #include "console.h" #include "vibro.h" #include "QEI.h" #include "MTimer.h" #include "SPI.h" #include "uart_m.h" #include "Command.h" #include "mathDSP.h" #include "CntrlGLD.h" #include "CyclesSync.h" #include "dspfns.h" #include "SIP.h" #include "el_lin.h" #include "InputOutput.h" #include "CyclesSync.h" #include "LPC17xx.h" //-------------------temp------- #include "el_lin.h" #include "QEI.h" #include "vibro.h" #include "MTimer.h" #include "mathDSP.h" #include "CyclesSync.h" #include "ThermoCalc.h" #include "CntrlGLD.h" #include "InputOutput.h" #include "ThermoCalc.h" #include "CyclesSync.h" #include "CntrlGLD.h" #include "InputOutput.h" #include "console.h" #include "CyclesSync.h" #include "InputOutput.h" #include "CyclesSync.h" #include "CntrlGLD.h" #include "stdlib.h" #include "SIP.h" #include "console.h" #include "mathDSP.h" #include "InputOutput.h" #include "CntrlGLD.h" #include "CyclesSync.h" #include "CntrlGLD.h" #include "el_lin.h" #include "commandset.h" #include "el_lin.h" #include "CyclesSync.h" #include "CntrlGLD.h" #include "InputOutput.h" #include "Parameters.h" #define BackLightOFF LPC_GPIO2->FIOSET =(1<<12); #define BackLightON LPC_GPIO2->FIOCLR =(1<<12); #define LightUpON LPC_GPIO0->FIOSET = (1<<4); #define LightUpOFF LPC_GPIO0->FIOCLR = (1<<4); #define TakeByte & 0xFF #define deltaDAC 11400.857 //���� ���� //#define K_DAC 0.843 extern float DACF, K_DAC; extern unsigned int VibroReg; extern void VibroPush(void); extern void VibroPull(void); extern void ButtonLightUP(void); extern unsigned long Global_Time, Time_UART,Time_Sec,Time_vibro,Time_1kHz; extern unsigned long MaxAmp; extern unsigned int LightUpCount,BackLightCount,secPuls; extern unsigned char BuffTemp[]; extern unsigned char Time[]; extern unsigned int Event1Hz; extern unsigned int Event1K; extern unsigned int Event100K; extern unsigned int EventVibro; extern unsigned int Time1K; extern unsigned int Time100K; extern unsigned int Time1Hz; extern unsigned int Clock1Hz; extern unsigned int ShiftD; extern unsigned int ShiftL; #define StartShiftD 0x00000005 #define StartShiftL 0x0000000a //#ifndef Global_H //#define Global_H #endif // Global_H