![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
fork
Fork of LG by
Global.h@140:1fbf117fc120, 2016-04-25 (annotated)
- Committer:
- Kovalev_D
- Date:
- Mon Apr 25 13:33:57 2016 +0000
- Revision:
- 140:1fbf117fc120
- Parent:
- 139:1716152517aa
- Child:
- 170:d099c3025f87
55
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
igor_v | 0:8ad47e2b6f00 | 1 | |
igor_v | 0:8ad47e2b6f00 | 2 | #ifndef Global_H |
igor_v | 0:8ad47e2b6f00 | 3 | #define Global_H |
igor_v | 0:8ad47e2b6f00 | 4 | |
igor_v | 0:8ad47e2b6f00 | 5 | |
igor_v | 0:8ad47e2b6f00 | 6 | #include "LPC17xx.h" |
igor_v | 0:8ad47e2b6f00 | 7 | |
igor_v | 0:8ad47e2b6f00 | 8 | #include "mathDSP.h" |
igor_v | 0:8ad47e2b6f00 | 9 | #include "InputOutput.h" |
igor_v | 0:8ad47e2b6f00 | 10 | #include "CyclesSync.h" |
igor_v | 0:8ad47e2b6f00 | 11 | #include "CntrlGLD.h" |
igor_v | 0:8ad47e2b6f00 | 12 | #include "stdlib.h" |
igor_v | 0:8ad47e2b6f00 | 13 | #include "SIP.h" |
igor_v | 0:8ad47e2b6f00 | 14 | #include "Parameters.h" |
igor_v | 0:8ad47e2b6f00 | 15 | #include "el_lin.h" |
igor_v | 30:17c84ed091b3 | 16 | #include "commandset.h" |
igor_v | 0:8ad47e2b6f00 | 17 | #include "Dither_Reg.h" |
igor_v | 30:17c84ed091b3 | 18 | |
Kovalev_D | 132:2c7bec5cf6fe | 19 | |
Kovalev_D | 132:2c7bec5cf6fe | 20 | #include "IAP.h" |
igor_v | 0:8ad47e2b6f00 | 21 | #include "vibro.h" |
igor_v | 0:8ad47e2b6f00 | 22 | #include "QEI.h" |
igor_v | 0:8ad47e2b6f00 | 23 | #include "MTimer.h" |
igor_v | 0:8ad47e2b6f00 | 24 | |
igor_v | 0:8ad47e2b6f00 | 25 | #include "SPI.h" |
igor_v | 0:8ad47e2b6f00 | 26 | #include "uart_m.h" |
igor_v | 0:8ad47e2b6f00 | 27 | #include "Command.h" |
igor_v | 30:17c84ed091b3 | 28 | #include "dspfns.h" |
igor_v | 30:17c84ed091b3 | 29 | #include "ThermoCalc.h" |
Kovalev_D | 40:8a6494f61326 | 30 | #include "pin.h" |
igor_v | 30:17c84ed091b3 | 31 | |
igor_v | 1:f2adcae3d304 | 32 | |
igor_v | 1:f2adcae3d304 | 33 | |
igor_v | 0:8ad47e2b6f00 | 34 | |
igor_v | 0:8ad47e2b6f00 | 35 | |
Kovalev_D | 50:0e3d47f18a50 | 36 | #define BackLightON LPC_GPIO2->FIOCLR = (1<<12); |
Kovalev_D | 50:0e3d47f18a50 | 37 | #define BackLightOFF LPC_GPIO2->FIOSET = (1<<12); |
igor_v | 0:8ad47e2b6f00 | 38 | |
Kovalev_D | 50:0e3d47f18a50 | 39 | #define LightUpON LPC_GPIO0->FIOCLR = (1<<4); |
Kovalev_D | 50:0e3d47f18a50 | 40 | #define LightUpOFF LPC_GPIO0->FIOSET = (1<<4); |
igor_v | 0:8ad47e2b6f00 | 41 | |
igor_v | 0:8ad47e2b6f00 | 42 | #define TakeByte & 0xFF |
igor_v | 21:bc8c1cec3da6 | 43 | #define deltaDAC 11400.857 //ноль ЦАПа |
igor_v | 21:bc8c1cec3da6 | 44 | |
igor_v | 0:8ad47e2b6f00 | 45 | //#define K_DAC 0.843 |
igor_v | 0:8ad47e2b6f00 | 46 | extern float DACF, K_DAC; |
igor_v | 0:8ad47e2b6f00 | 47 | extern unsigned int VibroReg; |
igor_v | 0:8ad47e2b6f00 | 48 | extern unsigned long Global_Time, Time_UART,Time_Sec,Time_vibro,Time_1kHz; |
Kovalev_D | 99:3d8f206ceac2 | 49 | extern int MaxAmp; |
Kovalev_D | 139:1716152517aa | 50 | extern unsigned int secPuls; |
Kovalev_D | 139:1716152517aa | 51 | extern unsigned char BuffTemp[]; |
Kovalev_D | 139:1716152517aa | 52 | extern unsigned char Time[]; |
Kovalev_D | 139:1716152517aa | 53 | |
Kovalev_D | 139:1716152517aa | 54 | |
igor_v | 15:f5191a1c3805 | 55 | extern unsigned int Event1Hz; |
Kovalev_D | 124:9ae09249f842 | 56 | extern unsigned int Event500Hz; |
igor_v | 15:f5191a1c3805 | 57 | extern unsigned int Event1K; |
igor_v | 15:f5191a1c3805 | 58 | extern unsigned int Event100K; |
igor_v | 15:f5191a1c3805 | 59 | extern unsigned int EventVibro; |
igor_v | 15:f5191a1c3805 | 60 | extern unsigned int Time1K; |
igor_v | 15:f5191a1c3805 | 61 | extern unsigned int Time100K; |
igor_v | 15:f5191a1c3805 | 62 | extern unsigned int Time1Hz; |
Kovalev_D | 124:9ae09249f842 | 63 | extern unsigned int Time500Hz; |
igor_v | 15:f5191a1c3805 | 64 | extern unsigned int Clock1Hz; |
Kovalev_D | 134:caf4c9cd5052 | 65 | extern __asm void boot_jump( uint32_t address ); |
Kovalev_D | 86:398da56ef751 | 66 | extern void GLD_Init(void); |
Kovalev_D | 86:398da56ef751 | 67 | extern void ButtonLightUP(void); |
igor_v | 0:8ad47e2b6f00 | 68 | |
igor_v | 1:f2adcae3d304 | 69 | //#ifndef Global_H |
igor_v | 1:f2adcae3d304 | 70 | //#define Global_H |
igor_v | 0:8ad47e2b6f00 | 71 | #endif // Global_H |
igor_v | 0:8ad47e2b6f00 | 72 |