29 PROBE_DDR &= ~(PROBE_MASK);
30 #ifdef DISABLE_PROBE_PIN_PULL_UP
31 PROBE_PORT &= ~(PROBE_MASK);
33 PROBE_PORT |= PROBE_MASK;
volatile uint8_t sys_probe_state
Probing state value. Used to coordinate the probing cycle with stepper ISR.
void probe_state_monitor()
Monitors probe pin state and records the system position when detected. Called by the...
uint8_t probe_get_state()
Returns the probe pin state. Triggered = true. Called by gcode parser and probe state monitor...
#define PROBE_OFF
Values that define the probing state machine.
#define bit_true(x, mask)
void probe_configure_invert_mask(uint8_t is_probe_away)
Called by probe_init() and the mc_probe() routines. Sets up the probe pin invert mask to...
uint8_t probe_invert_mask
Inverts the probe pin state depending on user settings and probing cycle mode.
uint8_t flags
Contains default boolean settings.
void probe_init()
Probe pin initialization routine.
int32_t sys_position[N_AXIS]
NOTE: These position variables may need to be declared as volatiles, if problems arise.
#define bit_isfalse(x, mask)
#define EXEC_MOTION_CANCEL
bitmask 01000000
volatile uint8_t sys_rt_exec_state
Global realtime executor bitflag variable for state management. See EXEC bitmasks.
memcpy(block_coord_system, gc_state.coord_system, sizeof(gc_state.coord_system))
int32_t sys_probe_position[N_AXIS]
Last probe position in machine coordinates and steps.
#define BITFLAG_INVERT_PROBE_PIN