include/states.h
changeset 343 118c1cabd0b0
parent 291 6165554cbfe9
child 357 838e5397ae67
equal deleted inserted replaced
342:66f007300c10 343:118c1cabd0b0
    38   Connecting      = 0x02,
    38   Connecting      = 0x02,
    39   Preparing       = 0x02,
    39   Preparing       = 0x02,
    40   Stopped         = 0x04,
    40   Stopped         = 0x04,
    41   Operational     = 0x05,
    41   Operational     = 0x05,
    42   Pre_operational = 0x7F,
    42   Pre_operational = 0x7F,
    43   Unknown_state   = 0x0F
    43   Unknown_state   = 0x0F,
       
    44 #ifdef CO_ENABLE_LSS
       
    45   LssTimingDelay  = 0x10
       
    46 #endif
    44 };
    47 };
    45 
    48 
    46 typedef enum enum_nodeState e_nodeState;
    49 typedef enum enum_nodeState e_nodeState;
    47 
    50 
    48 typedef struct
    51 typedef struct
    51 	INTEGER8 csSDO;
    54 	INTEGER8 csSDO;
    52 	INTEGER8 csEmergency;
    55 	INTEGER8 csEmergency;
    53 	INTEGER8 csSYNC;
    56 	INTEGER8 csSYNC;
    54 	INTEGER8 csHeartbeat;
    57 	INTEGER8 csHeartbeat;
    55 	INTEGER8 csPDO;
    58 	INTEGER8 csPDO;
       
    59 	INTEGER8 csLSS;
    56 } s_state_communication;
    60 } s_state_communication;
    57 
    61 
    58 /** Function that user app can overload
    62 /** Function that user app can overload
    59  * 
    63  * 
    60  */
    64  */