![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
forkd
Fork of LG2 by
Global.h
- Committer:
- Kovalev_D
- Date:
- 2016-02-06
- Revision:
- 40:8a6494f61326
- Parent:
- 30:17c84ed091b3
- Child:
- 50:0e3d47f18a50
File content as of revision 40:8a6494f61326:
#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 "Parameters.h" #include "el_lin.h" #include "commandset.h" #include "Dither_Reg.h" #include "vibro.h" #include "QEI.h" #include "MTimer.h" #include "SPI.h" #include "uart_m.h" #include "Command.h" #include "dspfns.h" #include "ThermoCalc.h" #include "pin.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 ButtonLightUP(void); extern unsigned long Global_Time, Time_UART,Time_Sec,Time_vibro,Time_1kHz; extern unsigned long MaxAmp; extern unsigned int 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