-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from fsantini/master
Added system_declares.c
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#include "config.h" | ||
|
||
int32_t sys_position[N_AXIS]; // Real-time machine (aka home) position vector in steps. | ||
int32_t sys_probe_position[N_AXIS]; // Last probe position in machine coordinates and steps. | ||
|
||
volatile uint8_t sys_probe_state; // Probing state value. Used to coordinate the probing cycle with stepper ISR. | ||
volatile uint8_t sys_rt_exec_state; // Global realtime executor bitflag variable for state management. See EXEC bitmasks. | ||
volatile uint8_t sys_rt_exec_alarm; // Global realtime executor bitflag variable for setting various alarms. | ||
volatile uint8_t sys_rt_exec_motion_override; // Global realtime executor bitflag variable for motion-based overrides. | ||
volatile uint8_t sys_rt_exec_accessory_override; // Global realtime executor bitflag variable for spindle/coolant overrides. | ||
|
||
#ifdef DEBUG | ||
#define EXEC_DEBUG_REPORT bit(0) | ||
volatile uint8_t sys_rt_exec_debug; | ||
#endif |