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