Prusa MINI Firmware overview
|
|
void | window_dlg_load_draw_buttons (window_dlg_statemachine_t *window, int is_donelhs_purgerhs) |
|
void | window_dlg_load_draw_buttons_cb (window_dlg_statemachine_t *window) |
|
void | window_dlg_load_event_cb (window_dlg_statemachine_t *window, uint8_t event, void *param) |
|
void | window_dlg_load_event_inverted_cb (window_dlg_statemachine_t *window, uint8_t event, void *param) |
|
static dlg_result_t | _gui_dlg_load (void) |
|
dlg_result_t | gui_dlg_load (void) |
|
dlg_result_t | gui_dlg_load_forced (void) |
|
static int | f_LD_GCODE (_dlg_vars *p_vars, _dlg_ld_vars *additional_vars) |
|
static int | f_LD_INSERT_FILAMENT (_dlg_vars *p_vars, _dlg_ld_vars *additional_vars) |
|
static int | f_LD_WAIT_E_POS__INSERTING (_dlg_vars *p_vars, _dlg_ld_vars *additional_vars) |
|
static int | f_LD_WAIT_E_POS__LOADING_TO_NOZ (_dlg_vars *p_vars, _dlg_ld_vars *additional_vars) |
|
static int | f_LD_WAIT_E_POS__PURGING (_dlg_vars *p_vars, _dlg_ld_vars *additional_vars) |
|
static int | f_LD_CHECK_MARLIN_EVENT (_dlg_vars *p_vars, _dlg_ld_vars *additional_vars) |
|
static int | f_LD_PURGE_USER_INTERACTION (_dlg_vars *p_vars, _dlg_ld_vars *additional_vars) |
|
static int | f_LD_PURGE_SHOW_PROGRESS (_dlg_vars *p_vars, _dlg_ld_vars *additional_vars) |
|
◆ window_dlg_load_draw_buttons()
38 rc_btn.
x += btn_width;
45 is_active = !is_active;
◆ window_dlg_load_draw_buttons_cb()
◆ window_dlg_load_event_cb()
◆ window_dlg_load_event_inverted_cb()
◆ _gui_dlg_load()
110 memset(&ld_vars,
'\0',
sizeof(ld_vars));
◆ gui_dlg_load()
◆ gui_dlg_load_forced()
◆ f_LD_GCODE()
◆ f_LD_INSERT_FILAMENT()
◆ f_LD_WAIT_E_POS__INSERTING()
◆ f_LD_WAIT_E_POS__LOADING_TO_NOZ()
◆ f_LD_WAIT_E_POS__PURGING()
◆ f_LD_CHECK_MARLIN_EVENT()
◆ f_LD_PURGE_USER_INTERACTION()
◆ f_LD_PURGE_SHOW_PROGRESS()
◆ cl_load
Initial value:= {
"Loading filament",
}
◆ txt_yesno
const char* txt_yesno[] = { "YES", "NO" } |
|
static |
◆ bt_yesno_ena
◆ bt_yesno_dis
◆ load_states
const _cl_dlg * _ths
Definition: window_dlg_statemachine.h:97
static int f_LD_WAIT_E_POS__INSERTING(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_load.c:148
const _dlg_state * p_states
Definition: window_dlg_statemachine.h:79
#define BT_ENABLED
Definition: window_dlg_statemachine.h:15
loop_result_t f_SH_on_loop(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:47
color_t color_back
Definition: window_dlg_statemachine.h:89
uint16_t w
Definition: guitypes.h:72
int f_SH_WAIT_INITIAL_Z_STOPPED(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:98
#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 const _cl_dlg cl_load
Definition: window_dlg_load.c:16
void set_repaint_btn_flg(window_dlg_statemachine_t *window)
Definition: window_dlg_statemachine.c:49
void set_filament(FILAMENT_t filament)
Definition: filament.cpp:32
static dlg_result_t _gui_dlg_load(void)
Definition: window_dlg_load.c:108
Definition: filament.h:26
void window_dlg_load_event_cb(window_dlg_statemachine_t *window, uint8_t event, void *param)
Definition: window_dlg_load.c:56
int f_SH_WAIT_TEMP(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:126
static int f_LD_CHECK_MARLIN_EVENT(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_load.c:175
int gui_dlg_preheat(const char *caption)
Definition: window_dlg_preheat.c:126
#define LD_BT_PURG_SEL
Definition: window_dlg_loadunload_shared.h:30
#define WINDOW_EVENT_ENC_UP
Definition: window.h:41
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
float e_last
Definition: window_dlg_loadunload_shared.h:20
int8_t phase
Definition: window_dlg_statemachine.h:39
const _dlg_button_t bt_yesno_dis
Definition: window_dlg_load.c:220
void window_dlg_load_draw_buttons_cb(window_dlg_statemachine_t *window)
Definition: window_dlg_load.c:51
Definition: marlin_host.h:28
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
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
display_fill_rect_t * fill_rect
Definition: display.h:33
_dlg_vars vars
Definition: window_dlg_statemachine.h:98
static int f_LD_PURGE_SHOW_PROGRESS(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_load.c:197
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 marlin_motion(void)
Definition: marlin_client.c:182
font_t * font_title
Definition: window_dlg_statemachine.h:92
const float ld_purge_amount
Definition: window_dlg_loadunload_shared.c:14
Definition: dlg_result.h:11
static int f_LD_PURGE_USER_INTERACTION(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_load.c:181
const _dlg_button_t bt_stop_dis
Definition: window_dlg_loadunload_shared.c:25
int gui_dlg_preheat_forced(const char *caption)
Definition: window_dlg_preheat.c:152
void marlin_host_button_click(host_prompt_button_t button)
Definition: marlin_client.c:542
uint8_t btn_spacing
Definition: guitypes.h:115
static int f_LD_WAIT_E_POS__PURGING(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_load.c:168
Definition: window_dlg_loadunload_shared.h:13
void marlin_gcode(const char *gcode)
Definition: marlin_client.c:195
Definition: guitypes.h:69
static const _dlg_state load_states[]
Definition: window_dlg_load.c:227
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
display_t * display
Definition: display.c:6
#define MARLIN_EVT_HostPrompt
Definition: marlin_events.h:26
const _dlg_button_t * p_button
Definition: window_dlg_statemachine.h:72
void f_SH_on_load(void)
Definition: window_dlg_loadunload_shared.c:42
#define WINDOW_EVENT_CLICK
Definition: window.h:46
#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
static const char * txt_yesno[]
Definition: window_dlg_load.c:215
static int f_LD_INSERT_FILAMENT(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_load.c:140
const _dlg_button_t bt_stop_ena
Definition: window_dlg_loadunload_shared.c:20
static int f_LD_WAIT_E_POS__LOADING_TO_NOZ(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_load.c:160
uint16_t x
Definition: guitypes.h:70
static int f_LD_GCODE(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_load.c:133
float pos[4]
Definition: marlin_vars.h:82
gui_defaults_t gui_defaults
Definition: gui.c:20
#define WINDOW_EVENT_BTN_DN
Definition: window.h:38
rect_ui16_t _get_dlg_statemachine_button_size(window_dlg_statemachine_t *window)
Definition: window_dlg_statemachine.c:78
Definition: marlin_host.h:27
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
void f_SH_on_timeout(void)
Definition: window_dlg_loadunload_shared.c:59
const _dlg_button_t bt_yesno_ena
Definition: window_dlg_load.c:216
#define WINDOW_EVENT_ENC_DN
Definition: window.h:40
#define LD_BT_DONE
Definition: window_dlg_loadunload_shared.h:28
int marlin_event_clr(uint8_t evt_id)
Definition: marlin_client.c:252
#define MARLIN_EVT_UserConfirmRequired
Definition: marlin_events.h:19
const _dlg_button_t bt_cont_ena
Definition: window_dlg_loadunload_shared.c:29