![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
fork
Fork of LG by
Diff: Global.h
- Revision:
- 0:8ad47e2b6f00
- Child:
- 1:f2adcae3d304
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Global.h Sat Jan 30 13:00:39 2016 +0000 @@ -0,0 +1,81 @@ + +#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" + + + + + +#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[]; + + +#endif // Global_H +