![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
fork
Fork of LG by
SPI.h
- Committer:
- Kovalev_D
- Date:
- 2016-10-19
- Revision:
- 197:7a05523bf588
- Parent:
- 170:d099c3025f87
- Child:
- 200:1df682165694
- Child:
- 202:c03b7b128e11
- Child:
- 208:19150d2b528f
File content as of revision 197:7a05523bf588:
#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 BuffADC_32Point []; extern unsigned int BuffADC_64Point []; extern unsigned int BuffADC_16Point []; extern unsigned int BuffADC_32PointD []; extern unsigned int Buff_Restored_Mod[]; extern unsigned int PulseADC_16Point; extern unsigned int PulseADC_32Point; extern unsigned int PulseADC_64Point; extern unsigned int PulseADC_32PointD; extern int ADC5Old,ADCDIF; extern unsigned int Buff_AMP []; extern unsigned int Buff_AMP64P[]; extern struct SPI Spi; extern unsigned int ModArraySin []; extern unsigned int ModArraySaw []; extern unsigned int ModArrayTriangle []; extern unsigned int Mod; extern unsigned int TypeMod; extern void Init_SPI_Exchange(void); extern void PlcRegul(void); extern void SPI_Exchange(void); extern void ADS_Acum(void); extern void InitMOD(void); extern void Modulator(void); extern void ShowMod(void); #endif // SPI_H