grblHAL core  20251016
probe_state_t Union Reference

#include <probe.h>

Data Fields

uint16_t value
 
struct {
   uint16_t   triggered:1
 Set to true when probe or toolsetter is triggered. More...
 
   uint16_t   connected:1
 Set to true when probe is connected. Always set to true if the driver does not have a probe connected input. More...
 
   uint16_t   inverted:1
 For driver use. More...
 
   uint16_t   is_probing:1
 For driver use. More...
 
   uint16_t   was_probing:1
 For driver use. More...
 
   uint16_t   irq_enabled:1
 For driver use. More...
 
   uint16_t   irq_mode:5
 pin_irq_mode_t - for driver use More...
 
   uint16_t   unused:3
 
   uint16_t   probe_id:2
 Id of active probe (for now). More...
 
}; 
 

Field Documentation

◆ 

struct { ... }

◆ connected

uint16_t connected

Set to true when probe is connected. Always set to true if the driver does not have a probe connected input.

◆ inverted

uint16_t inverted

For driver use.

◆ irq_enabled

uint16_t irq_enabled

For driver use.

◆ irq_mode

uint16_t irq_mode

pin_irq_mode_t - for driver use

◆ is_probing

uint16_t is_probing

For driver use.

◆ probe_id

uint16_t probe_id

Id of active probe (for now).

◆ triggered

uint16_t triggered

Set to true when probe or toolsetter is triggered.

◆ unused

uint16_t unused

◆ value

uint16_t value

◆ was_probing

uint16_t was_probing

For driver use.


The documentation for this union was generated from the following file: