GCODE_COMMAND Struct Reference

this holds all the possible data from a received command More...

#include <gcode_parse.h>

Data Fields

union {
   struct {
      uint8_t   seen_G:1
      uint8_t   seen_M:1
      uint8_t   seen_X:1
      uint8_t   seen_Y:1
      uint8_t   seen_Z:1
      uint8_t   seen_F:1
      uint8_t   seen_S:1
      uint8_t   seen_P:1
      uint8_t   seen_T:1
      uint8_t   seen_N:1
      uint8_t   seen_parens_comment:1
 seen an open parenthesis
      uint8_t   option_all_relative:1
 relative or absolute coordinates?
      uint8_t   option_inches:1
 inches or millimeters?
   } 
   uint16_t   flags
}; 
uint8_t G
 G command number.
uint8_t M
 M command number.
TARGET target
 target position: X, Y, Z, E and F
int16_t S
 S word (various uses).
uint16_t P
 P word (various uses).
uint8_t T
 T word (tool index).

Detailed Description

this holds all the possible data from a received command


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Defines
Generated on Mon Jul 30 16:33:59 2012 for Teacup by  doxygen 1.6.3