#ifdef        GLOBALS_VARIABLE
    #define   EXTERN_VAR
    
#else
    #define   EXTERN_VAR     extern
    
#endif

#ifndef GLOBALS_VAR_H_
#define GLOBALS_VAR_H_ 



    

    EXTERN_VAR  INT8U  Flash_1Hz;




    EXTERN_VAR     volatile  INT8U               SCIRV[43];
    EXTERN_VAR     volatile  INT8U               bReturn;         
    EXTERN_VAR     volatile  INT16U              FlashCommandArray[MaxDFlashCommandCounter];       
    EXTERN_VAR     volatile  ClockType           Clock;
    EXTERN_VAR     volatile  INT8U               rvcnt;     
    EXTERN_VAR     volatile  CarFlagType         CarFlag;
    EXTERN_VAR     volatile  INT16U              BusOffTime; 
    /*EXTERN_VAR     volatile  CanMsg              Msg;
    EXTERN_VAR     volatile  CanMsg              Msg1;
    EXTERN_VAR     volatile  CanMsg              Msg2;*/
    EXTERN_VAR     volatile  TwoINT8U            TwoByte;

    EXTERN_VAR     volatile  EcuType             Ecu;
    EXTERN_VAR     volatile  SciFrameType        SciFrame;
    EXTERN_VAR     volatile  RadioMeter          Radio;
    EXTERN_VAR     volatile  INT32U              wTemp;
    EXTERN_VAR     volatile  INT8U               check;
    EXTERN_VAR     volatile  INT16U              VehFre;
    EXTERN_VAR     volatile  INT8U               RunStep;
    EXTERN_VAR     volatile  KeyType             Key;
    
    EXTERN_VAR     volatile  INT8U               step_cycle;
    
    EXTERN_VAR     volatile  INT8U               LCDFP4BP;
    EXTERN_VAR     volatile  INT8U               LCDFP5BP;
    EXTERN_VAR     volatile  INT8U               LCDFP6BP;
    EXTERN_VAR     volatile  INT8U               LCDFP7BP;
    EXTERN_VAR     volatile  INT8U               LCDFP8BP;
    EXTERN_VAR     volatile  INT8U               LCDFP9BP;
    EXTERN_VAR     volatile  INT8U               LCDFP10BP;
    EXTERN_VAR     volatile  INT8U               LCDFP11BP;
    EXTERN_VAR     volatile  INT8U               LCDFP12BP;
    EXTERN_VAR     volatile  INT8U               LCDFP13BP;
    EXTERN_VAR     volatile  INT8U               LCDFP14BP;
    EXTERN_VAR     volatile  INT8U               LCDFP15BP;
    EXTERN_VAR     volatile  INT8U               LCDFP16BP;
    EXTERN_VAR     volatile  INT8U               LCDFP17BP;
    EXTERN_VAR     volatile  INT8U               LCDFP18BP;
    EXTERN_VAR     volatile  INT8U               LCDFP19BP;
    EXTERN_VAR     volatile  INT8U               LCDFP20BP;
    EXTERN_VAR     volatile  INT8U               LCDFP21BP;
    EXTERN_VAR     volatile  INT8U               LCDFP22BP;    
    
    EXTERN_VAR     volatile  INT32U              TEST;
    
    /*EXTERN_VAR     CAN_message                  CanMessageID092;            //10
    EXTERN_VAR     CAN_message                  CanMessageID0A0;            //50
    EXTERN_VAR     CAN_message                  CanMessageID0A1;            //10
    EXTERN_VAR     CAN_message                  CanMessageID0A4;            //20
    EXTERN_VAR     CAN_message                  CanMessageID100;            //100
    EXTERN_VAR     CAN_message                  CanMessageID102;            //100
    EXTERN_VAR     CAN_message                  CanMessageID104;            //25
    EXTERN_VAR     CAN_message                  CanMessageID108;            //100
    EXTERN_VAR     CAN_message                  CanMessageID10A;            //100
    EXTERN_VAR     CAN_message                  CanMessageID112;            //100
    EXTERN_VAR     CAN_message                  CanMessageID116;            //100
    EXTERN_VAR     CAN_message                  CanMessageID139;            //10
    EXTERN_VAR     CAN_message                  CanMessageID141;            //10
    EXTERN_VAR     CAN_message                  CanMessageID144;            //10
    EXTERN_VAR     CAN_message                  CanMessageID2F1;            //50
    EXTERN_VAR     CAN_message                  CanMessageID150;            //event
    EXTERN_VAR     CAN_message                  CanMessageID200;            //100
    EXTERN_VAR     CAN_message                  CanMessageID290;            //60
    EXTERN_VAR     CAN_message                  CanMessageID294;            //event
    EXTERN_VAR     CAN_message                  CanMessageID2F0;            //1000
    EXTERN_VAR     CAN_message                  CanMessageID316;            //50
    EXTERN_VAR     CAN_message                  CanMessageID3EF;            //1000
    EXTERN_VAR     CAN_message                  CanMessageID0B2;            //10
    EXTERN_VAR     CAN_message                  CanMessageID10E;            //100
    EXTERN_VAR     CAN_message                  CanMessageID071;            //event
    EXTERN_VAR     CAN_message                  CanMessageID220;            //100
    EXTERN_VAR     CAN_message                  CanMessageID20A;            //100
    EXTERN_VAR     CAN_message                  CanMessageID387;            //100
    EXTERN_VAR     CAN_message                  CanMessageID206;            //100*/
    
    /*EXTERN_VAR     CAN_message                  CanMessageID0CF80AF0;
    EXTERN_VAR     CAN_message                  CanMessageID0CF80BF0;
    EXTERN_VAR     CAN_message                  CanMessageID0CF814F3;
    EXTERN_VAR     CAN_message                  CanMessageID18F815F3;
    EXTERN_VAR     CAN_message                  CanMessageID18F816F3;
    EXTERN_VAR     CAN_message                  CanMessageID0CF81EA7;
    EXTERN_VAR     CAN_message                  CanMessageID0CF81FA7;
    EXTERN_VAR     CAN_message                  CanMessageID18F820A7;
    EXTERN_VAR     CAN_message                  CanMessageID18F8058F;
    EXTERN_VAR     CAN_message                  CanMessageID18F8068F;*/
    
    
    
    /*zh:*/
    /*CS08 test*/
    EXTERN_VAR      CAN_message                 CanMessageID0CFF7F03;
    EXTERN_VAR      CAN_message                 CanMsg_101;
    EXTERN_VAR      CAN_message                 CanMsg_111;
    EXTERN_VAR      CAN_message                 CanMsg_37B;
    EXTERN_VAR      CAN_message                 CanMsg_402;


    extern      CAN_message                 CanMsg_101;
    extern      CAN_message                 CanMsg_111;
    extern      CAN_message                 CanMsg_37B;

    extern      CAN_message                 CanMsg_402;
    extern      CAN_message                 CanMsg_12B;

    
    
    /**/
    /*:zh*/



    














    



    
    EXTERN_VAR     Max_Page                     MaxPage;
    EXTERN_VAR     INT8U                        Auto_First;
    
    EXTERN_VAR      INT8U                       RT_10ms_En;
    EXTERN_VAR      INT8U                       RT_20ms_En;
    EXTERN_VAR      INT8U                       RT_25ms_En;
    EXTERN_VAR      INT8U                       RT_50ms_En;
    EXTERN_VAR      INT8U                       RT_60ms_En;
    EXTERN_VAR      INT8U                       RT_100ms_En;
    EXTERN_VAR      INT8U                       RT_200ms_En;
    EXTERN_VAR      INT8U                       RT_500ms_En;
    EXTERN_VAR      INT8U                       RT_1s_En;

    EXTERN_VAR      INT8U                       CurVehSpeed;

    EXTERN_VAR volatile INT32U seed1;
    EXTERN_VAR volatile INT32U seed2;
    EXTERN_VAR volatile INT32U seed3;
    EXTERN_VAR volatile INT32U seed4;
    EXTERN_VAR volatile INT32U dwSeed1;
    EXTERN_VAR volatile INT32U dwSeed2;
    EXTERN_VAR volatile INT32U dwSeed3;
    EXTERN_VAR volatile INT32U dwSeed4;
    EXTERN_VAR volatile INT32U dwKey1;
    EXTERN_VAR volatile INT32U dwKey2;
    EXTERN_VAR volatile INT32U dwKey3;
    EXTERN_VAR volatile INT32U dwKey4;
    EXTERN_VAR volatile INT32U aaaa;
    EXTERN_VAR volatile INT32U bbbb;
    EXTERN_VAR volatile INT32U cccc;
    EXTERN_VAR volatile INT32U dddd;
    EXTERN_VAR volatile INT32U CalcKey;
    EXTERN_VAR volatile INT32U GetSeed;

    EXTERN_VAR volatile INT8U EOLMode;
    EXTERN_VAR volatile INT8U EOLStep;
    EXTERN_VAR volatile INT8U EOLError;

#endif /* GLOBALS_VAR_H_ */
