![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
forkd
Fork of LGstaandart by
SPI.h@96:1c8536458119, 2016-03-28 (annotated)
- Committer:
- Kovalev_D
- Date:
- Mon Mar 28 15:23:40 2016 +0000
- Revision:
- 96:1c8536458119
- Parent:
- 92:c892f0311aa7
- Child:
- 99:3d8f206ceac2
1
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 | }; |
igor_v | 0:8ad47e2b6f00 | 18 | |
Kovalev_D | 92:c892f0311aa7 | 19 | extern unsigned int SinPLC[]; |
Kovalev_D | 86:398da56ef751 | 20 | extern unsigned int Temp_AMP; |
Kovalev_D | 86:398da56ef751 | 21 | extern unsigned int Temp_ADC_2; |
Kovalev_D | 86:398da56ef751 | 22 | extern unsigned int Temp_ADC_3; |
Kovalev_D | 86:398da56ef751 | 23 | extern unsigned int Temp_ADC_4; |
Kovalev_D | 86:398da56ef751 | 24 | extern unsigned int Temp_ADC_5; |
Kovalev_D | 96:1c8536458119 | 25 | extern unsigned int Temp_AMP64P; |
Kovalev_D | 86:398da56ef751 | 26 | |
igor_v | 0:8ad47e2b6f00 | 27 | extern unsigned int Buff_ADC_1 []; |
igor_v | 0:8ad47e2b6f00 | 28 | extern unsigned int Buff_ADC_2 []; |
igor_v | 0:8ad47e2b6f00 | 29 | extern unsigned int Buff_ADC_3 []; |
igor_v | 0:8ad47e2b6f00 | 30 | extern unsigned int Buff_ADC_4 []; |
igor_v | 0:8ad47e2b6f00 | 31 | extern unsigned int Buff_ADC_5 []; |
igor_v | 0:8ad47e2b6f00 | 32 | extern unsigned int Buff_AMP []; |
Kovalev_D | 96:1c8536458119 | 33 | extern unsigned int Buff_AMP64P[]; |
igor_v | 0:8ad47e2b6f00 | 34 | extern struct SPI Spi; |
Kovalev_D | 89:a0d344db227e | 35 | extern void Init_SPI_Exchange(void); |
igor_v | 1:f2adcae3d304 | 36 | |
igor_v | 1:f2adcae3d304 | 37 | #endif // SPI_H |