summaryrefslogtreecommitdiff
path: root/src/emc/motion/motion_struct.h
blob: 9a614255543dad8e426cb38620c05e11260e63d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/********************************************************************
* Description: motion_struct.h
*   A data structure used in only a few places
*
* Author:
* License: GPL Version 2
* System: Linux
*
* Copyright (c) 2004 All rights reserved
*
* Last change:
********************************************************************/

#ifndef MOTION_STRUCT_H
#define MOTION_STRUCT_H

/* big comm structure, for upper memory */
    typedef struct emcmot_struct_t {
	struct emcmot_command_t command;	/* struct used to pass commands/data
					   to the RT module from usr space */
	struct emcmot_status_t status;	/* Struct used to store RT status */
	struct emcmot_config_t config;	/* Struct used to store RT config */
	struct emcmot_internal_t internal;	/*! \todo FIXME - doesn't need to be in
					   shared memory */
	struct emcmot_error_t error;	/* ring buffer for error messages */
	struct emcmot_debug_t debug;	/* Struct used to store RT status and debug
				   data - 2nd largest block */
    } emcmot_struct_t;


#endif // MOTION_STRUCT_H