gnea\grbl-Mega  1.0f
Source Code Documentation ( Internal Workings )
main.c File Reference
#include "grbl.h"

Go to the source code of this file.

Functions

int main (void)
 

Variables

system_t sys
 Declare system global variable structure. More...
 

Function Documentation

int main ( void  )

< Setup serial baud rate and interrupts

< Load Grbl settings from EEPROM

< Configure stepper pins and interrupt timers

< Configure pinout pins and pin-change interrupt

< Clear machine position.

< Enable interrupts

NOTE: The startup script will run after successful completion of the homing cycle, but

< Clear system struct variable.

< Set to 100%

< Set to 100%

< Set to 100%

< Clear probe position.

< Clear serial read buffer

< Set g-code parser to default state

< Clear block buffer and planner variables

< Clear stepper subsystem variables.

Never reached

Definition at line 28 of file main.c.

Variable Documentation

system_t sys

Declare system global variable structure.

Definition at line 25 of file main.c.