gnea\grbl-Mega  1.0f
Source Code Documentation ( Internal Workings )
Data Structures
Here are the data structures with brief descriptions:
 Cgc_modal_tNOTE: When this struct is zeroed, the above defines set the defaults for the system
 Cgc_values_t
 Cparser_block_t
 Cparser_state_t
 Cplan_block_tThis struct stores a linear movement of a g-code block motion with its critical "nominal" values
 Cplan_line_data_tPlanner data prototype. Must be used when passing new motions to the planner
 Cplanner_tDefine planner variables
 Csegment_tPrimary stepper segment ring buffer. Contains small, short line segments for the stepper
 Csettings_tGlobal persistent settings (Stored from byte EEPROM_ADDR_GLOBAL onwards)
 Cst_block_tStores the planner block Bresenham algorithm execution data for the segments in the segment
 Cst_prep_tSegment preparation data struct. Contains all the necessary information to compute new segments
 Cstepper_tStepper ISR data struct. Contains the running data for the main stepper ISR
 Csystem_tDefine global system variables