Prusa MINI Firmware overview
|
Go to the documentation of this file.
3 #ifndef _WINDOW_DLG_LOADUNLOAD_SHARED_H
4 #define _WINDOW_DLG_LOADUNLOAD_SHARED_H
28 #define LD_BT_DONE DLG_DI_US0 //continue button for marlin
29 #define LD_BT_PURG DLG_DI_US1 //resume button for marlin
30 #define LD_BT_PURG_SEL DLG_DI_US2 //when flag is 0 active button is done
55 int is_donelhs_purgerhs);
61 #endif //_WINDOW_DLG_LOADUNLOAD_SHARED_H
int f_SH_WAIT_INITIAL_Z_MOTION(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:85
const _dlg_button_t bt_stop_ena
Definition: window_dlg_loadunload_shared.c:20
#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
int f_SH_WAIT_E_MOTION(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:112
int f_SH_WAIT_INITIAL_Z_STOPPED(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:98
void window_dlg_load_event_cb(window_dlg_statemachine_t *window, uint8_t event, void *param)
Definition: window_dlg_load.c:56
uint8_t flags
Definition: window_dlg_statemachine.h:38
void window_dlg_load_draw_buttons(window_dlg_statemachine_t *window, int is_donelhs_purgerhs)
Definition: window_dlg_load.c:22
const _dlg_button_t bt_none
Definition: window_dlg_loadunload_shared.c:38
int f_SH_WAIT_E_MOTION(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:112
void f_SH_on_timeout()
Definition: window_dlg_loadunload_shared.c:59
#define BT_AUTOEXIT
Definition: window_dlg_statemachine.h:17
static const char * txt_none[]
Definition: window_dlg_loadunload_shared.c:18
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
const float ld_purge_amount
Definition: window_dlg_loadunload_shared.c:14
int f_SH_INIT(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:67
void window_dlg_statemachine_event_1bt(window_dlg_statemachine_t *window, uint8_t event, void *param)
Definition: window_dlg_statemachine.c:235
int f_SH_WAIT_TEMP(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:126
float z_start
Definition: window_dlg_loadunload_shared.h:18
float e_last
Definition: window_dlg_loadunload_shared.h:20
void window_dlg_load_event_inverted_cb(window_dlg_statemachine_t *window, uint8_t event, void *param)
Definition: window_dlg_load.c:83
int8_t phase
Definition: window_dlg_statemachine.h:39
static const char * txt_cont[]
Definition: window_dlg_loadunload_shared.c:17
#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
int f_SH_MOVE_INITIAL_Z(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:74
Definition: window_dlg_statemachine.h:87
uint32_t HAL_GetTick(void)
Provides a tick value in millisecond.
Definition: stm32f4xx_hal.c:339
float temp_nozzle
Definition: marlin_vars.h:83
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
Definition: window_dlg_statemachine.h:52
int _was_move(_dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:63
const _dlg_button_t bt_none
Definition: window_dlg_loadunload_shared.c:38
const float ld_purge_amount
Definition: window_dlg_loadunload_shared.c:14
#define MARLIN_VAR_TEMP_NOZ
Definition: marlin_vars.h:19
int f_SH_WAIT_E_STOPPED(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:119
#define MARLIN_EVT_CommandEnd
Definition: marlin_events.h:34
Definition: window_dlg_statemachine.h:51
float target_nozzle
Definition: marlin_vars.h:85
const _dlg_button_t bt_stop_dis
Definition: window_dlg_loadunload_shared.c:25
Definition: window_dlg_loadunload_shared.h:13
const _dlg_button_t bt_stop_dis
Definition: window_dlg_loadunload_shared.c:25
void marlin_gcode(const char *gcode)
Definition: marlin_client.c:195
#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
void window_dlg_statemachine_draw_0bt(window_dlg_statemachine_t *window)
Definition: window_dlg_statemachine.c:94
const uint8_t[]
Definition: 404_html.c:3
int f_SH_WAIT_INITIAL_Z_STOPPED(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:98
#define MARLIN_VAR_MSK(v_id)
Definition: marlin_vars.h:35
Definition: window_dlg_statemachine.h:36
const _dlg_button_t bt_cont_ena
Definition: window_dlg_loadunload_shared.c:29
loop_result_t f_SH_on_loop(_dlg_vars *p_vars, _dlg_ld_vars *p_additional_vars)
Definition: window_dlg_loadunload_shared.c:47
int f_SH_MOVE_INITIAL_Z(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:74
void f_SH_on_load(void)
Definition: window_dlg_loadunload_shared.c:42
void f_SH_on_load(void)
Definition: window_dlg_loadunload_shared.c:42
const _dlg_button_t bt_cont_dis
Definition: window_dlg_loadunload_shared.c:34
This file contains all the functions prototypes for the HAL module driver.
#define DLG_CH_CMD
Definition: window_dlg_statemachine.h:20
static const char * txt_stop[]
Definition: window_dlg_loadunload_shared.c:16
int f_SH_INIT(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:67
int f_SH_WAIT_E_MOTION__WAIT_TEMP(_dlg_vars *p_vars, _dlg_ld_vars *additional_vars)
Definition: window_dlg_loadunload_shared.c:144
const _dlg_button_t bt_stop_ena
Definition: window_dlg_loadunload_shared.c:20
Definition: marlin_vars.h:77
#define MARLIN_VAR_INDEX_Z
Definition: marlin_vars.h:66
float pos[4]
Definition: marlin_vars.h:82
#define MARLIN_VAR_TTEM_NOZ
Definition: marlin_vars.h:21
#define MARLIN_VAR_MOTION_MSK_E
Definition: marlin_vars.h:71
void window_dlg_statemachine_draw_1bt(window_dlg_statemachine_t *window)
Definition: window_dlg_statemachine.c:87
uint32_t tick_part_start
Definition: window_dlg_statemachine.h:46
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
int marlin_gcode_printf(const char *format,...)
Definition: marlin_client.c:206
loop_result_t
Definition: window_dlg_statemachine.h:50
const _dlg_button_t bt_cont_dis
Definition: window_dlg_loadunload_shared.c:34
float initial_move
Definition: window_dlg_loadunload_shared.h:17
uint8_t motion
Definition: marlin_vars.h:78
int marlin_event_clr(uint8_t evt_id)
Definition: marlin_client.c:252
#define MARLIN_VAR_MOTION_MSK_Z
Definition: marlin_vars.h:70
const _dlg_button_t bt_cont_ena
Definition: window_dlg_loadunload_shared.c:29