删除 Config.H
This commit is contained in:
210
Config.H
210
Config.H
@@ -1,210 +0,0 @@
|
|||||||
#ifndef _Configfff_H_
|
|
||||||
#define _Configfff_H_
|
|
||||||
|
|
||||||
|
|
||||||
//-----<2D>궨<EFBFBD><EAB6A8>-----------------------------------------------------------------
|
|
||||||
//<2F><><EFBFBD>ز<EFBFBD><D8B2><EFBFBD>--------------------------------------------------------------
|
|
||||||
//֧<><D6A7>ƽ̨<C6BD><CCA8>
|
|
||||||
// ___XC164CM___ SSC<53><43><EFBFBD><EFBFBD><EFBFBD>ڲ<EFBFBD>ѯ<EFBFBD><D1AF>ʽ
|
|
||||||
// ___XC2765X___ SSC<53><43><EFBFBD><EFBFBD><EFBFBD>ڲ<EFBFBD>ѯ<EFBFBD><D1AF>ʽ
|
|
||||||
#define ___XC886CLM___
|
|
||||||
|
|
||||||
#define NumChipSw 2//<2F><><EFBFBD><EFBFBD>MC33993оƬ<D0BE><C6AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
||||||
#define DF_SwInNum 1//<2F><><EFBFBD><EFBFBD><EFBFBD>ɼ<EFBFBD>оƬ<D0BE><C6AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
||||||
#define DF_SwOutNum 1//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>оƬ<D0BE><C6AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
||||||
|
|
||||||
#define Tog 2
|
|
||||||
#define On 1
|
|
||||||
#define Off 0
|
|
||||||
|
|
||||||
//#define N 6 //NΪż<CEAA><C5BC>
|
|
||||||
|
|
||||||
|
|
||||||
#define uchar unsigned char
|
|
||||||
#define ulong unsigned long
|
|
||||||
#define uint unsigned int
|
|
||||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>CAN<41><4E><EFBFBD>ݽ<EFBFBD><DDBD>գ<EFBFBD><D5A3><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD>___CANRX___
|
|
||||||
//#define ___CANRX___
|
|
||||||
|
|
||||||
//<2F><><EFBFBD>Ź<EFBFBD>
|
|
||||||
//#define DF_WDT P1_OUT_P0
|
|
||||||
|
|
||||||
//<2F><><EFBFBD><EFBFBD>
|
|
||||||
#define SwIn01 P1_2 // Output7
|
|
||||||
#define SwIn02 P1_3 // Output2
|
|
||||||
#define SwIn03 P1_4 // Output4
|
|
||||||
#define SwIn04 P1_5 // Output3
|
|
||||||
#define SwIn05 P3_6 // Output5
|
|
||||||
#define SwIn06 P4_3 // Output6
|
|
||||||
#define SwIn07 P3_0
|
|
||||||
#define SwIn08 P2_6
|
|
||||||
|
|
||||||
#define SwOut01 P3_2
|
|
||||||
#define SwOut02 P3_4
|
|
||||||
#define SwOut03 P4_0
|
|
||||||
#define SwOut04 P0_7
|
|
||||||
#define SwOut05 P0_0
|
|
||||||
#define SwOut06 P0_1
|
|
||||||
#define SwOut07 P2_3
|
|
||||||
#define SwOut08 P2_5
|
|
||||||
#define SwOut09 P0_3
|
|
||||||
#define SwOut10 P4_1
|
|
||||||
#define SwOut11 P3_5
|
|
||||||
#define SwOut12 P3_3
|
|
||||||
#define SwOut13 P1_4
|
|
||||||
#define SwOut14 P1_2
|
|
||||||
#define SwOut15 P0_2
|
|
||||||
#define SwOut16 P1_7
|
|
||||||
|
|
||||||
//LED<45><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݽṹ
|
|
||||||
typedef union _SwOut
|
|
||||||
{
|
|
||||||
struct
|
|
||||||
{
|
|
||||||
// ubyte Arr[DF_SwOutNum][4]; //оƬ<D0BE><C6AC><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><C4B1><EFBFBD><EFBFBD><EFBFBD>
|
|
||||||
ubyte Arr[DF_SwOutNum][4]; //оƬ<D0BE><C6AC><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><C4B1><EFBFBD><EFBFBD><EFBFBD>
|
|
||||||
}ArrData;
|
|
||||||
struct
|
|
||||||
{
|
|
||||||
//-------<2D><><EFBFBD><EFBFBD>оƬ1-------------------------------
|
|
||||||
unsigned int S21 : 1;//FLGSP0
|
|
||||||
unsigned int S22 : 1;//FLGSP1
|
|
||||||
unsigned int S23 : 1;//FLGSP2
|
|
||||||
unsigned int S24 : 1;//FLGSP3
|
|
||||||
unsigned int S34 : 1;//FLGSP4
|
|
||||||
unsigned int S33 : 1;//FLGSP5
|
|
||||||
unsigned int S32 : 1;//FLGSP6
|
|
||||||
unsigned int S31 : 1;//FLGSP7
|
|
||||||
unsigned int S25 : 1;//FLGSG0
|
|
||||||
unsigned int S26 : 1;//FLGSG1
|
|
||||||
unsigned int S27 : 1;//FLGSG2
|
|
||||||
unsigned int S28 : 1;//FLGSG3
|
|
||||||
unsigned int S30 : 1;//FLGSG4
|
|
||||||
unsigned int S29 : 1;//FLGSG5
|
|
||||||
unsigned int S43 : 1;//FLGSG6
|
|
||||||
unsigned int S35 : 1;//FLGSG7
|
|
||||||
unsigned int S36 : 1;//FLGSG8
|
|
||||||
unsigned int S37 : 1;//FLGSG9
|
|
||||||
unsigned int S38 : 1;//FLGSG10
|
|
||||||
unsigned int S40 : 1;//FLGSG11
|
|
||||||
unsigned int S39 : 1;//FLGSG12
|
|
||||||
unsigned int S44 : 1;//FLGSG13
|
|
||||||
unsigned int : 1;
|
|
||||||
unsigned int : 1;
|
|
||||||
unsigned int : 8;
|
|
||||||
//-------------------------------------------------
|
|
||||||
}BitData;
|
|
||||||
}UnSwOut,*pUnSwOut;
|
|
||||||
|
|
||||||
|
|
||||||
//CAN<41><4E><EFBFBD><EFBFBD>--------------------------------------------------------------
|
|
||||||
#define NumTxCan 1
|
|
||||||
#define NumRxCan 1//15
|
|
||||||
#define NumTxCanMoS 16 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ
|
|
||||||
#define NumRxCanMoS 0 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ
|
|
||||||
#define ___CANRX___
|
|
||||||
|
|
||||||
//CAN<41><4E>Ϣ<EFBFBD>ṹ
|
|
||||||
typedef union _InfCan
|
|
||||||
{
|
|
||||||
struct
|
|
||||||
{
|
|
||||||
ubyte Arr[1][8];
|
|
||||||
ubyte ArrRX[2][8];
|
|
||||||
}ArrData;
|
|
||||||
struct
|
|
||||||
{
|
|
||||||
//----------<2D><><EFBFBD><EFBFBD>0-0x14000001 -------------------------------------------
|
|
||||||
unsigned int Sta09 : 1 ; //FlgSp1
|
|
||||||
unsigned int Sta10 : 1 ; //FlgSp0
|
|
||||||
unsigned int Sta11 : 1 ; //FlgSp7
|
|
||||||
unsigned int Sta12 : 1 ; //FlgSp6
|
|
||||||
unsigned int Sta13 : 1 ; //FlgSp5
|
|
||||||
unsigned int Sta14 : 1 ; //FlgSp4
|
|
||||||
|
|
||||||
unsigned int Sta15 : 1 ; //FlgSg7
|
|
||||||
unsigned int Sta16 : 1 ; //FlgSg8
|
|
||||||
|
|
||||||
unsigned int Sta01 : 1 ; //FlgSg4
|
|
||||||
unsigned int Sta02 : 1 ; //FlgSg5
|
|
||||||
unsigned int Sta03 : 1 ; //FlgSg3
|
|
||||||
unsigned int Sta04 : 1 ; //FlgSg2
|
|
||||||
unsigned int Sta05 : 1 ; //FlgSg1
|
|
||||||
unsigned int Sta06 : 1 ; //FlgSg0
|
|
||||||
unsigned int Sta07 : 1 ; //FlgSp3
|
|
||||||
unsigned int Sta08 : 1 ; //FlgSp2
|
|
||||||
|
|
||||||
unsigned int CanTx3 : 8 ; ////
|
|
||||||
|
|
||||||
unsigned int Dia01 : 1 ; //FlgSg4
|
|
||||||
unsigned int Dia02 : 1 ; //FlgSg5
|
|
||||||
unsigned int Dia03 : 1 ; //FlgSg3
|
|
||||||
unsigned int Dia04 : 1 ; //FlgSg2
|
|
||||||
unsigned int Dia05 : 1 ; //FlgSg1
|
|
||||||
unsigned int Dia06 : 1 ; //FlgSg0
|
|
||||||
unsigned int Dia07 : 1 ; //FlgSp3
|
|
||||||
unsigned int Dia08 : 1 ; //FlgSp2
|
|
||||||
|
|
||||||
unsigned int CanTx5 : 8 ; ////
|
|
||||||
unsigned int CanTx4 : 8 ; ////
|
|
||||||
unsigned int CanTx7 : 8 ; ////
|
|
||||||
unsigned int CanTx6 : 8 ; ////
|
|
||||||
|
|
||||||
//----------<2D><><EFBFBD><EFBFBD>0x14000002 --------------------------------------------
|
|
||||||
unsigned int D29 : 1 ; //FlgSp1
|
|
||||||
unsigned int D30 : 1 ; //FlgSp0
|
|
||||||
unsigned int D31 : 1 ; //FlgSp7
|
|
||||||
unsigned int D32 : 1 ; //FlgSp6
|
|
||||||
unsigned int D33 : 1 ; //FlgSp5
|
|
||||||
unsigned int D34 : 1 ; //FlgSp4
|
|
||||||
unsigned int D35 : 1 ; //FlgSg7
|
|
||||||
unsigned int D36 : 1 ; //FlgSg8
|
|
||||||
|
|
||||||
unsigned int D21 : 1 ; //FlgSg4
|
|
||||||
unsigned int D22 : 1 ; //FlgSg5
|
|
||||||
unsigned int D23 : 1 ; //FlgSg3
|
|
||||||
unsigned int D24 : 1 ; //FlgSg2
|
|
||||||
unsigned int D25 : 1 ; //FlgSg1
|
|
||||||
unsigned int D26 : 1 ; //FlgSg0
|
|
||||||
unsigned int D27 : 1 ; //FlgSp3
|
|
||||||
unsigned int D28 : 1 ; //FlgSp2
|
|
||||||
|
|
||||||
unsigned int CanRx3 : 8 ; ////
|
|
||||||
unsigned int CanRx2 : 8 ; ////
|
|
||||||
unsigned int CanRx5 : 8 ; ////
|
|
||||||
unsigned int CanRx4 : 8 ; ////
|
|
||||||
unsigned int CanRx7 : 8 ; ////
|
|
||||||
unsigned int CanRx6 : 8 ; ////
|
|
||||||
|
|
||||||
//----------<2D><><EFBFBD><EFBFBD>0x14000003 --------------------------------------------
|
|
||||||
unsigned int Pwm_01 : 4 ; //FlgSp1
|
|
||||||
unsigned int Pwm_02 : 4 ; //FlgSp0
|
|
||||||
unsigned int Pwm_03 : 4 ; //FlgSp7
|
|
||||||
unsigned int Pwm_04 : 4 ; //FlgSp6
|
|
||||||
unsigned int Pwm_05 : 4 ; //FlgSp5
|
|
||||||
unsigned int Pwm_06 : 4 ; //FlgSp4
|
|
||||||
unsigned int Pwm_07 : 4 ; //FlgSg7
|
|
||||||
unsigned int Pwm_08 : 4 ; //FlgSg8
|
|
||||||
unsigned int Pwm_09 : 4 ; //FlgSg4
|
|
||||||
unsigned int Pwm_10 : 4 ; //FlgSg5
|
|
||||||
unsigned int Pwm_11 : 4 ; //FlgSg3
|
|
||||||
unsigned int Pwm_12 : 4 ; //FlgSg2
|
|
||||||
unsigned int Pwm_13 : 4 ; //FlgSg1
|
|
||||||
unsigned int Pwm_14 : 4 ; //FlgSg0
|
|
||||||
unsigned int Pwm_15 : 4 ; //FlgSp3
|
|
||||||
unsigned int Pwm_16 : 4 ; //FlgSp2
|
|
||||||
|
|
||||||
}BitData;
|
|
||||||
}UnInfCan,*pInfCan;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//-----<2D>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD>----------------------------------------------
|
|
||||||
#include "user.H"
|
|
||||||
#include "boot.H"
|
|
||||||
#include "RTC.H"
|
|
||||||
#include "temperature.H"
|
|
||||||
#endif
|
|
||||||
Reference in New Issue
Block a user