![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
forkd
Fork of LG2 by
SPI.h@99:3d8f206ceac2, 2016-03-29 (annotated)
- Committer:
- Kovalev_D
- Date:
- Tue Mar 29 17:00:59 2016 +0000
- Revision:
- 99:3d8f206ceac2
- Parent:
- 96:1c8536458119
- Child:
- 109:ee0cff33ad3b
??? ?????????
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
igor_v | 1:f2adcae3d304 | 1 | #ifndef SPI_H |
igor_v | 1:f2adcae3d304 | 2 | #define SPI_H |
igor_v | 1:f2adcae3d304 | 3 | |
igor_v | 1:f2adcae3d304 | 4 | |
igor_v | 0:8ad47e2b6f00 | 5 | #define RX_SSP_notEMPT 0x00000004 |
igor_v | 0:8ad47e2b6f00 | 6 | |
igor_v | 0:8ad47e2b6f00 | 7 | struct SPI { |
igor_v | 0:8ad47e2b6f00 | 8 | unsigned int ADC1; |
igor_v | 0:8ad47e2b6f00 | 9 | unsigned int ADC2; |
igor_v | 0:8ad47e2b6f00 | 10 | unsigned int ADC3; |
igor_v | 0:8ad47e2b6f00 | 11 | unsigned int ADC4; |
igor_v | 0:8ad47e2b6f00 | 12 | unsigned int ADC5; |
igor_v | 0:8ad47e2b6f00 | 13 | |
igor_v | 0:8ad47e2b6f00 | 14 | unsigned int DAC_A; |
igor_v | 0:8ad47e2b6f00 | 15 | unsigned int DAC_B; |
igor_v | 0:8ad47e2b6f00 | 16 | unsigned int DAC_L; |
igor_v | 0:8ad47e2b6f00 | 17 | }; |
Kovalev_D | 99:3d8f206ceac2 | 18 | extern unsigned int Cur_Amp; |
Kovalev_D | 99:3d8f206ceac2 | 19 | extern int Znak_Amp; |
Kovalev_D | 92:c892f0311aa7 | 20 | extern unsigned int SinPLC[]; |
Kovalev_D | 86:398da56ef751 | 21 | extern unsigned int Temp_AMP; |
Kovalev_D | 86:398da56ef751 | 22 | extern unsigned int Temp_ADC_2; |
Kovalev_D | 86:398da56ef751 | 23 | extern unsigned int Temp_ADC_3; |
Kovalev_D | 86:398da56ef751 | 24 | extern unsigned int Temp_ADC_4; |
Kovalev_D | 86:398da56ef751 | 25 | extern unsigned int Temp_ADC_5; |
Kovalev_D | 96:1c8536458119 | 26 | extern unsigned int Temp_AMP64P; |
Kovalev_D | 86:398da56ef751 | 27 | |
igor_v | 0:8ad47e2b6f00 | 28 | extern unsigned int Buff_ADC_1 []; |
igor_v | 0:8ad47e2b6f00 | 29 | extern unsigned int Buff_ADC_2 []; |
igor_v | 0:8ad47e2b6f00 | 30 | extern unsigned int Buff_ADC_3 []; |
igor_v | 0:8ad47e2b6f00 | 31 | extern unsigned int Buff_ADC_4 []; |
igor_v | 0:8ad47e2b6f00 | 32 | extern unsigned int Buff_ADC_5 []; |
igor_v | 0:8ad47e2b6f00 | 33 | extern unsigned int Buff_AMP []; |
Kovalev_D | 96:1c8536458119 | 34 | extern unsigned int Buff_AMP64P[]; |
igor_v | 0:8ad47e2b6f00 | 35 | extern struct SPI Spi; |
Kovalev_D | 89:a0d344db227e | 36 | extern void Init_SPI_Exchange(void); |
igor_v | 1:f2adcae3d304 | 37 | |
igor_v | 1:f2adcae3d304 | 38 | #endif // SPI_H |