123
Fork of LG by
Diff: SPI.h
- Revision:
- 0:8ad47e2b6f00
- Child:
- 1:f2adcae3d304
diff -r 000000000000 -r 8ad47e2b6f00 SPI.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SPI.h Sat Jan 30 13:00:39 2016 +0000 @@ -0,0 +1,34 @@ +#define RX_SSP_notEMPT 0x00000004 + +extern unsigned int Temp_AMP; + +extern unsigned int Temp_ADC_2; +extern unsigned int Temp_ADC_3; +extern unsigned int Temp_ADC_4; +extern unsigned int Temp_ADC_5; + + + + +struct SPI { + unsigned int ADC1; + unsigned int ADC2; + unsigned int ADC3; + unsigned int ADC4; + unsigned int ADC5; + + unsigned int DAC_A; + unsigned int DAC_B; + unsigned int DAC_L; +}; + +extern unsigned int Buff_ADC_1 []; +extern unsigned int Buff_ADC_2 []; +extern unsigned int Buff_ADC_3 []; +extern unsigned int Buff_ADC_4 []; +extern unsigned int Buff_ADC_5 []; +extern unsigned int Buff_AMP []; + +extern struct SPI Spi; +extern void SPI_Exchange(); +extern void Init_SPI_Exchange();