![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
test fork
Fork of LG by
SPI.h@20:e56d63c1ca05, 2016-02-03 (annotated)
- Committer:
- DarkPatrick
- Date:
- Wed Feb 03 09:33:19 2016 +0400
- Revision:
- 20:e56d63c1ca05
- Parent:
- 1:f2adcae3d304
test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
igor_v | 1:f2adcae3d304 | 1 | |
igor_v | 1:f2adcae3d304 | 2 | |
igor_v | 1:f2adcae3d304 | 3 | |
igor_v | 1:f2adcae3d304 | 4 | #ifndef SPI_H |
igor_v | 1:f2adcae3d304 | 5 | #define SPI_H |
igor_v | 1:f2adcae3d304 | 6 | |
igor_v | 1:f2adcae3d304 | 7 | |
igor_v | 0:8ad47e2b6f00 | 8 | #define RX_SSP_notEMPT 0x00000004 |
igor_v | 0:8ad47e2b6f00 | 9 | |
igor_v | 0:8ad47e2b6f00 | 10 | extern unsigned int Temp_AMP; |
igor_v | 0:8ad47e2b6f00 | 11 | |
igor_v | 0:8ad47e2b6f00 | 12 | extern unsigned int Temp_ADC_2; |
igor_v | 0:8ad47e2b6f00 | 13 | extern unsigned int Temp_ADC_3; |
igor_v | 0:8ad47e2b6f00 | 14 | extern unsigned int Temp_ADC_4; |
igor_v | 0:8ad47e2b6f00 | 15 | extern unsigned int Temp_ADC_5; |
igor_v | 0:8ad47e2b6f00 | 16 | |
igor_v | 0:8ad47e2b6f00 | 17 | |
igor_v | 0:8ad47e2b6f00 | 18 | |
igor_v | 0:8ad47e2b6f00 | 19 | |
igor_v | 0:8ad47e2b6f00 | 20 | struct SPI { |
igor_v | 0:8ad47e2b6f00 | 21 | unsigned int ADC1; |
igor_v | 0:8ad47e2b6f00 | 22 | unsigned int ADC2; |
igor_v | 0:8ad47e2b6f00 | 23 | unsigned int ADC3; |
igor_v | 0:8ad47e2b6f00 | 24 | unsigned int ADC4; |
igor_v | 0:8ad47e2b6f00 | 25 | unsigned int ADC5; |
igor_v | 0:8ad47e2b6f00 | 26 | |
igor_v | 0:8ad47e2b6f00 | 27 | unsigned int DAC_A; |
igor_v | 0:8ad47e2b6f00 | 28 | unsigned int DAC_B; |
igor_v | 0:8ad47e2b6f00 | 29 | unsigned int DAC_L; |
igor_v | 0:8ad47e2b6f00 | 30 | }; |
igor_v | 0:8ad47e2b6f00 | 31 | |
igor_v | 0:8ad47e2b6f00 | 32 | extern unsigned int Buff_ADC_1 []; |
igor_v | 0:8ad47e2b6f00 | 33 | extern unsigned int Buff_ADC_2 []; |
igor_v | 0:8ad47e2b6f00 | 34 | extern unsigned int Buff_ADC_3 []; |
igor_v | 0:8ad47e2b6f00 | 35 | extern unsigned int Buff_ADC_4 []; |
igor_v | 0:8ad47e2b6f00 | 36 | extern unsigned int Buff_ADC_5 []; |
igor_v | 0:8ad47e2b6f00 | 37 | extern unsigned int Buff_AMP []; |
igor_v | 0:8ad47e2b6f00 | 38 | |
igor_v | 0:8ad47e2b6f00 | 39 | extern struct SPI Spi; |
igor_v | 0:8ad47e2b6f00 | 40 | extern void SPI_Exchange(); |
igor_v | 0:8ad47e2b6f00 | 41 | extern void Init_SPI_Exchange(); |
igor_v | 1:f2adcae3d304 | 42 | |
igor_v | 1:f2adcae3d304 | 43 | #endif // SPI_H |