motion_struct.h
1 /******************************************************************** 2 * Description: motion_struct.h 3 * A data structure used in only a few places 4 * 5 * Author: 6 * License: GPL Version 2 7 * System: Linux 8 * 9 * Copyright (c) 2004 All rights reserved 10 ********************************************************************/ 11 12 #ifndef MOTION_STRUCT_H 13 #define MOTION_STRUCT_H 14 15 /* big comm structure, for upper memory */ 16 typedef struct emcmot_struct_t { 17 struct emcmot_command_t command; /* struct used to pass commands/data 18 to the RT module from usr space */ 19 struct emcmot_status_t status; /* Struct used to store RT status */ 20 struct emcmot_config_t config; /* Struct used to store RT config */ 21 struct emcmot_internal_t internal; /*! \todo FIXME - doesn't need to be in 22 shared memory */ 23 struct emcmot_error_t error; /* ring buffer for error messages */ 24 struct emcmot_debug_t debug; /* Struct used to store RT status and debug 25 data - 2nd largest block */ 26 } emcmot_struct_t; 27 28 29 #endif // MOTION_STRUCT_H