![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
fork
Fork of LG by
SPI.h
- Committer:
- Kovalev_D
- Date:
- 2017-08-16
- Revision:
- 214:4c70e452c491
- Parent:
- 213:9953db9543d6
- Child:
- 215:b58b887fd367
File content as of revision 214:4c70e452c491:
#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 FlagExchange; unsigned int DAC_A; unsigned int DAC_B; unsigned int DAC_L; // unsigned int PLC_NewData; }; extern int TSinPls,TSinMns; extern unsigned int ADC5New; extern int ADC_64Point; extern int ADC_32PointD; 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 int RegulADC,DeltaRegul,tempDeltaRegul; 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 int ADC_5_T; extern int BuffADC_1Point []; extern int BuffADC_32Point []; extern int BuffADC_64Point []; extern unsigned int Buff_ADC_5 []; extern unsigned int BuffADC_16Point []; extern int BuffADC_32PointD []; extern 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 PLCRegul250(void); extern void HFORegul(void); extern void SPI_Exchange(void); extern void ADS_Acum(void); extern void InitMOD(void); extern void Modulator(void); extern void ShowMod2(void); extern void ShowMod(void); #endif // SPI_H