Prusa MINI Firmware overview
|
Go to the documentation of this file.
3 #ifndef _WINDOW_DLG_PURGE_H
4 #define _WINDOW_DLG_PURGE_H
20 #endif //_WINDOW_DLG_PURGE_H
#define BT_ENABLED
Definition: window_dlg_statemachine.h:15
Definition: window_dlg_statemachine.h:76
int f_SH_WAIT_INITIAL_Z_STOPPED(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:98
uint8_t flags
Definition: window_dlg_statemachine.h:38
#define MARLIN_VAR_INDEX_E
Definition: marlin_vars.h:67
static int f_PU_PURGE_USER_INTERACTION(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_purge.c:43
const _dlg_button_t bt_none
Definition: window_dlg_loadunload_shared.c:38
dlg_result_t _gui_dlg(const _cl_dlg *_ths, void *p_additional_vars, int32_t ttl)
Definition: window_dlg_statemachine.c:257
int f_SH_WAIT_TEMP(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:126
#define MARLIN_VAR_MOTION
Definition: marlin_vars.h:8
#define LD_BT_PURG_SEL
Definition: window_dlg_loadunload_shared.h:30
static const _cl_dlg cl_purge
Definition: window_dlg_purge.c:13
void window_dlg_load_event_inverted_cb(window_dlg_statemachine_t *window, uint8_t event, void *param)
Definition: window_dlg_load.c:83
int f_SH_INIT(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:67
void window_dlg_load_draw_buttons(window_dlg_statemachine_t *window, int is_donelhs_purgerhs)
Definition: window_dlg_load.c:22
Definition: window_dlg_statemachine.h:67
dlg_result_t gui_dlg_purge(void)
Definition: window_dlg_purge.c:26
static int f_PU_PURGE_SHOW_PROGRESS(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_purge.c:58
float e_last
Definition: window_dlg_loadunload_shared.h:20
static int f_PU_PREPICK_PURGE_BTN(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_purge.c:76
int8_t phase
Definition: window_dlg_statemachine.h:39
void window_dlg_statemachine_draw_progress_tot(window_dlg_statemachine_t *window)
Definition: window_dlg_statemachine.c:144
void window_dlg_statemachine_draw_progress_part(window_dlg_statemachine_t *window)
Definition: window_dlg_statemachine.c:150
#define NULL
Definition: usbd_def.h:53
#define F(str)
Definition: UHS_macros.h:164
int f_SH_MOVE_INITIAL_Z(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:74
static const _dlg_state purge_states[]
Definition: window_dlg_purge.c:93
loop_result_t(* dlg_loop_cb_t)(_dlg_vars *p_vars, void *p_additional_vars)
Definition: window_dlg_statemachine.h:57
#define LD_BT_PURG
Definition: window_dlg_loadunload_shared.h:29
Definition: window_dlg_statemachine.h:87
void window_dlg_purge_draw_buttons_cb(window_dlg_statemachine_t *window)
Definition: window_dlg_purge.c:15
int(* dlg_state_func)(_dlg_vars *p_vars, void *p_additional_vars)
Definition: window_dlg_statemachine.h:55
int gui_dlg_preheat_autoselect_if_able(const char *caption)
Definition: window_dlg_preheat.c:135
float z_min_extr_pos
Definition: window_dlg_loadunload_shared.h:16
static loop_result_t purge_loop(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_purge.c:111
static int f_PU_WAIT_READY(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_purge.c:69
dlg_result_t gui_dlg_purge(void)
Definition: window_dlg_purge.c:26
#define MARLIN_VAR_TEMP_NOZ
Definition: marlin_vars.h:19
Definition: window_dlg_statemachine.h:51
Definition: dlg_result.h:11
const float ld_purge_amount
Definition: window_dlg_loadunload_shared.c:14
int marlin_busy(void)
Definition: marlin_client.c:152
static int f_PU_GCODE(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_purge.c:36
static void purge_done(void)
Definition: window_dlg_purge.c:106
Definition: window_dlg_loadunload_shared.h:13
void marlin_gcode(const char *gcode)
Definition: marlin_client.c:195
#define MARLIN_VAR_POS_E
Definition: marlin_vars.h:18
marlin_vars_t * marlin_update_vars(uint64_t msk)
Definition: marlin_client.c:368
dlg_result_t
Definition: dlg_result.h:9
#define MARLIN_VAR_MSK(v_id)
Definition: marlin_vars.h:35
Definition: window_dlg_statemachine.h:36
This file contains all the functions prototypes for the HAL module driver.
void window_dlg_statemachine_draw_progress_none(window_dlg_statemachine_t *window)
Definition: window_dlg_statemachine.c:156
const _dlg_button_t bt_prgdn_dis
Definition: window_dlg_purge.c:89
static const char * txt_prgdn[]
Definition: window_dlg_purge.c:84
const _dlg_button_t bt_stop_ena
Definition: window_dlg_loadunload_shared.c:20
static dlg_result_t _gui_dlg_purge(void)
Definition: window_dlg_purge.c:19
float pos[4]
Definition: marlin_vars.h:82
#define MARLIN_VAR_TTEM_NOZ
Definition: marlin_vars.h:21
int f_SH_WAIT_INITIAL_Z_MOTION(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:85
marlin_vars_t * p_marlin_vars
Definition: window_dlg_loadunload_shared.h:15
const _dlg_button_t bt_prgdn_ena
Definition: window_dlg_purge.c:85
loop_result_t
Definition: window_dlg_statemachine.h:50
#define LD_BT_DONE
Definition: window_dlg_loadunload_shared.h:28