21 #ifndef coolant_control_h
22 #define coolant_control_h
24 #define COOLANT_NO_SYNC false
25 #define COOLANT_FORCE_SYNC true
27 #define COOLANT_STATE_DISABLE 0
28 #define COOLANT_STATE_FLOOD bit(0)
29 #define COOLANT_STATE_MIST bit(1)
void coolant_set_state(uint8_t mode)
Sets the coolant pins according to state specified.
void coolant_init()
Initializes coolant control pins.
uint8_t coolant_get_state()
Returns current coolant output state. Overrides may alter it from programmed state.
void coolant_stop()
Immediately disables coolant pins.
void coolant_sync(uint8_t mode)
G-code parser entry-point for setting coolant states. Checks for and executes additional conditions...