master/globals.h
changeset 861 6e3de145421a
parent 858 69122084d066
child 872 d4e0380d63b3
equal deleted inserted replaced
860:ba5c38f0bb30 861:6e3de145421a
   189     const char *message; /**< Message belonging to \a code. */
   189     const char *message; /**< Message belonging to \a code. */
   190 } ec_code_msg_t;
   190 } ec_code_msg_t;
   191 
   191 
   192 /*****************************************************************************/
   192 /*****************************************************************************/
   193 
   193 
       
   194 /** Generic request state.
       
   195  *
       
   196  * \attention If ever changing this, please be sure to adjust the \a
       
   197  * state_table in master/sdo_request.c.
       
   198  */
       
   199 typedef enum {
       
   200     EC_REQUEST_INIT,
       
   201     EC_REQUEST_QUEUED,
       
   202     EC_REQUEST_BUSY,
       
   203     EC_REQUEST_SUCCESS,
       
   204     EC_REQUEST_FAILURE
       
   205 } ec_request_state_t;
       
   206 
       
   207 /*****************************************************************************/
       
   208 
   194 /** Origin type.
   209 /** Origin type.
   195  */
   210  */
   196 typedef enum {
   211 typedef enum {
   197     EC_ORIG_INTERNAL, /**< Internal. */
   212     EC_ORIG_INTERNAL, /**< Internal. */
   198     EC_ORIG_EXTERNAL /**< External. */
   213     EC_ORIG_EXTERNAL /**< External. */