![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
forkd
Fork of LGstaandart by
SPI.h
- Committer:
- Kovalev_D
- Date:
- 2016-05-11
- Revision:
- 158:0c8342e1837a
- Parent:
- 147:1aed74f19a8f
- Child:
- 170:d099c3025f87
File content as of revision 158:0c8342e1837a:
#ifndef SPI_H #define SPI_H #define RX_SSP_notEMPT 0x00000004 struct SPI { // unsigned int SpiFlag; unsigned int ADC1; unsigned int ADC2; unsigned int ADC3; unsigned int ADC4; unsigned int ADC5; unsigned int ADC1_Accum; unsigned int ADC2_Accum; unsigned int ADC3_Accum; unsigned int ADC4_Accum; unsigned int ADC5_Accum; unsigned int ADC_NewData; unsigned int DAC_A; unsigned int DAC_B; unsigned int DAC_L; unsigned int PLC_NewData; }; extern unsigned int Cur_Amp; extern int Znak_Amp; extern int AD_Regul ; extern unsigned int SinPLC[]; //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; extern unsigned int Temp_AMP64P; 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 unsigned int Buff_AMP64P[]; extern struct SPI Spi; extern void Init_SPI_Exchange(void); extern void PlcRegul(void); extern void SPI_Exchange(void); extern void ADS_Acum(void); extern void ShowMod(void); #endif // SPI_H