![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
fork
Fork of LG by
SPI.h@89:a0d344db227e, 2016-03-24 (annotated)
- Committer:
- Kovalev_D
- Date:
- Thu Mar 24 12:57:10 2016 +0000
- Revision:
- 89:a0d344db227e
- Parent:
- 86:398da56ef751
- Child:
- 92:c892f0311aa7
.
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 | 86:398da56ef751 | 19 | |
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 | 86:398da56ef751 | 25 | |
igor_v | 0:8ad47e2b6f00 | 26 | extern unsigned int Buff_ADC_1 []; |
igor_v | 0:8ad47e2b6f00 | 27 | extern unsigned int Buff_ADC_2 []; |
igor_v | 0:8ad47e2b6f00 | 28 | extern unsigned int Buff_ADC_3 []; |
igor_v | 0:8ad47e2b6f00 | 29 | extern unsigned int Buff_ADC_4 []; |
igor_v | 0:8ad47e2b6f00 | 30 | extern unsigned int Buff_ADC_5 []; |
igor_v | 0:8ad47e2b6f00 | 31 | extern unsigned int Buff_AMP []; |
igor_v | 0:8ad47e2b6f00 | 32 | |
igor_v | 0:8ad47e2b6f00 | 33 | extern struct SPI Spi; |
Kovalev_D | 89:a0d344db227e | 34 | extern void Init_SPI_Exchange(void); |
igor_v | 1:f2adcae3d304 | 35 | |
igor_v | 1:f2adcae3d304 | 36 | #endif // SPI_H |