![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
fork
Fork of LG by
Global.h
- Committer:
- Kovalev_D
- Date:
- 2017-09-27
- Revision:
- 219:2d3475d0dd1b
- Parent:
- 215:b58b887fd367
File content as of revision 219:2d3475d0dd1b:
#ifndef Global_H #define Global_H //#define MAX_QEI_CNT 2147483646 #include "LPC17xx.h" #include "InputOutput.h" #include "CyclesSync.h" #include "CntrlGLD.h" #include "stdlib.h" #include "SIP.h" #include "Parameters.h" #include "el_lin.h" #include "MCPWM.h" #include "IAP.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 BackLightON LPC_GPIO2->FIOCLR = (1<<12); #define BackLightOFF LPC_GPIO2->FIOSET = (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 unsigned long Global_Time, Time_UART,Time_Sec,Time_vibro,Time_1kHz; extern int MaxAmp; extern unsigned int secPuls; extern unsigned char BuffTemp[]; extern unsigned char Time[]; extern unsigned int MODFlag; extern unsigned int Time250Hz; extern unsigned int Event250Hz; extern unsigned int Event1250Hz; extern unsigned int EventMod; extern unsigned int Event1Hz; extern unsigned int Event100Hz; extern unsigned int Event250Hz; extern unsigned int Event500Hz; extern unsigned int Event1K; extern unsigned int Event2K; extern unsigned int Event100K; extern unsigned int EventVibro; extern unsigned int Time1K; extern unsigned int Time1250Hz; extern unsigned int Time2K; extern unsigned int Time100K; extern unsigned int Time1Hz; extern unsigned int Time100Hz; extern unsigned int Time500Hz; extern unsigned int Time250Hz; extern unsigned int Clock1Hz; extern __asm void boot_jump( uint32_t address ); extern void Param_init(void); extern void GLD_Init(void); extern void ButtonLightUP(void); //#ifndef Global_H //#define Global_H #endif // Global_H