Prusa MINI Firmware overview
|
Go to the documentation of this file.
3 #ifndef _WINDOW_DLG_CHANGE_H
4 #define _WINDOW_DLG_CHANGE_H
18 #endif //_WINDOW_DLG_CHANGE_H
void fs_enable()
Definition: filament_sensor.c:90
const _dlg_button_t bt_yesno_dis
Definition: window_dlg_load.c:220
loop_result_t f_SH_on_loop(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:47
static int f_CH_WAIT_E_POS__UNLOADING(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_change.c:81
Definition: window_dlg_statemachine.h:76
#define DLG_BT_FLG
Definition: window_dlg_statemachine.h:19
uint8_t flags
Definition: window_dlg_statemachine.h:38
#define MARLIN_VAR_INDEX_E
Definition: marlin_vars.h:67
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
static int f_CH_PURGE_USER_INTERACTION(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_change.c:157
static dlg_result_t _gui_dlg_change(void)
Definition: window_dlg_change.c:17
int f_SH_WAIT_TEMP(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:126
#define LD_BT_PURG_SEL
Definition: window_dlg_loadunload_shared.h:30
static int f_CH_WAIT_E_POS__LOADING_TO_NOZ(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_change.c:134
Definition: window_dlg_statemachine.h:67
float z_start
Definition: window_dlg_loadunload_shared.h:18
#define MSGBOX_ICO_QUESTION
Definition: window_msgbox.h:34
float e_last
Definition: window_dlg_loadunload_shared.h:20
void window_dlg_load_draw_buttons_cb(window_dlg_statemachine_t *window)
Definition: window_dlg_load.c:51
int8_t phase
Definition: window_dlg_statemachine.h:39
Definition: marlin_host.h:28
void window_dlg_statemachine_draw_progress_tot(window_dlg_statemachine_t *window)
Definition: window_dlg_statemachine.c:144
dlg_result_t gui_dlg_change(void)
Definition: window_dlg_change.c:35
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
float e_start
Definition: window_dlg_loadunload_shared.h:19
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
dlg_result_t gui_dlg_change(void)
Definition: window_dlg_change.c:35
int(* dlg_state_func)(_dlg_vars *p_vars, void *p_additional_vars)
Definition: window_dlg_statemachine.h:55
float z_min_extr_pos
Definition: window_dlg_loadunload_shared.h:16
int f_SH_WAIT_E_STOPPED(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:119
int marlin_motion(void)
Definition: marlin_client.c:182
const float ld_purge_amount
Definition: window_dlg_loadunload_shared.c:14
#define MARLIN_EVT_CommandEnd
Definition: marlin_events.h:34
static int f_CH_WAIT_E_POS__PURGING(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_change.c:143
marlin_vars_t * marlin_vars(void)
Definition: marlin_client.c:361
#define MSGBOX_RES_YES
Definition: window_msgbox.h:44
void window_dlg_load_event_cb(window_dlg_statemachine_t *window, uint8_t event, void *param)
Definition: window_dlg_load.c:56
static int f_CH_WAIT_E_POS__INSERTING(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_change.c:121
const _dlg_button_t bt_stop_dis
Definition: window_dlg_loadunload_shared.c:25
void marlin_host_button_click(host_prompt_button_t button)
Definition: marlin_client.c:542
Definition: filament_sensor.h:20
fsensor_t fs_get_state()
Definition: filament_sensor.c:67
static const _cl_dlg cl_unload
Definition: window_dlg_change.c:15
static int f_CH_CHECK_MARLIN_EVENT(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_change.c:151
Definition: window_dlg_loadunload_shared.h:13
#define MARLIN_VAR_POS_Z
Definition: marlin_vars.h:17
#define MARLIN_VAR_POS_E
Definition: marlin_vars.h:18
marlin_vars_t * marlin_update_vars(uint64_t msk)
Definition: marlin_client.c:368
uint8_t marlin_set_wait_user(uint8_t val)
Definition: marlin_client.c:429
dlg_result_t
Definition: dlg_result.h:9
const uint8_t[]
Definition: 404_html.c:3
Definition: dlg_result.h:10
#define MARLIN_VAR_MSK(v_id)
Definition: marlin_vars.h:35
Definition: window_dlg_statemachine.h:36
#define MARLIN_EVT_HostPrompt
Definition: marlin_events.h:26
void f_SH_on_load(void)
Definition: window_dlg_loadunload_shared.c:42
#define MSGBOX_BTN_YESNO
Definition: window_msgbox.h:24
This file contains all the functions prototypes for the HAL module driver.
#define DLG_CH_CMD
Definition: window_dlg_statemachine.h:20
void window_dlg_statemachine_draw_progress_none(window_dlg_statemachine_t *window)
Definition: window_dlg_statemachine.c:156
const _dlg_button_t bt_stop_ena
Definition: window_dlg_loadunload_shared.c:20
const _dlg_button_t bt_yesno_ena
Definition: window_dlg_load.c:216
static int f_CH_WAIT_E_POS__RAMMING(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_change.c:62
float pos[4]
Definition: marlin_vars.h:82
static int f_CH_PURGE_SHOW_PROGRESS(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_change.c:173
void fs_disable()
Definition: filament_sensor.c:97
Definition: marlin_host.h:27
marlin_vars_t * p_marlin_vars
Definition: window_dlg_loadunload_shared.h:15
void f_SH_on_timeout(void)
Definition: window_dlg_loadunload_shared.c:59
static int f_CH_WAIT_E_POS__RAM_RETRACTING(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_change.c:46
#define LD_BT_DONE
Definition: window_dlg_loadunload_shared.h:28
int marlin_event_clr(uint8_t evt_id)
Definition: marlin_client.c:252
static const _dlg_state unload_states[]
Definition: window_dlg_change.c:192
static int f_CH_INSERT_FILAMENT(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_change.c:112
#define MARLIN_EVT_UserConfirmRequired
Definition: marlin_events.h:19
const _dlg_button_t bt_cont_ena
Definition: window_dlg_loadunload_shared.c:29
static int f_CH_INIT(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_change.c:89