Prusa MINI Firmware overview
|
Go to the documentation of this file.
7 #define HOST_PROMPT_MAX_BUTTONS 4
10 #define MARLIN_HOSTPROMPT_LoadFilament 0x01
11 #define MARLIN_HOSTPROMPT_Paused 0x02
14 #define MARLIN_HOSTPROMPT_BTN_Continue 0x01
15 #define MARLIN_HOSTPROMPT_BTN_PurgeMore 0x02
74 #endif // _MARLIN_HOST_H
struct _marlin_host_prompt_t marlin_host_prompt_t
Definition: marlin_host.h:19
host_prompt_button_t button[HOST_PROMPT_MAX_BUTTONS]
Definition: marlin_host.h:49
host_prompt_type_t
Definition: marlin_host.h:17
uint8_t type
Definition: UsbCore.h:184
Definition: marlin_host.h:20
const char * __prompt_text[]
Definition: marlin_host.c:7
host_prompt_type_t marlin_host_prompt_by_text(const char *text)
Definition: marlin_host.c:29
Definition: marlin_host.h:38
host_prompt_button_t marlin_host_prompt_button_by_text(const char *text)
Definition: marlin_host.c:44
host_prompt_type_t type
Definition: marlin_host.h:47
const char * marlin_host_prompt_get_text(host_prompt_type_t type)
Definition: marlin_host.c:22
host_prompt_button_t marlin_host_prompt_button_by_text(const char *text)
Definition: marlin_host.c:44
Definition: marlin_host.h:46
Definition: marlin_host.h:28
const char * marlin_host_prompt_get_text(host_prompt_type_t type)
Definition: marlin_host.c:22
const char * __prompt_button_text[]
Definition: marlin_host.c:15
Definition: marlin_host.h:18
Definition: marlin_host.h:36
void marlin_host_prompt_decode(uint32_t ui32, marlin_host_prompt_t *prompt)
Definition: marlin_host.c:56
Definition: marlin_host.h:26
const char * marlin_host_prompt_button_get_text(host_prompt_button_t button)
Definition: marlin_host.c:37
uint8_t button_count
Definition: marlin_host.h:48
uint32_t marlin_host_prompt_encode(marlin_host_prompt_t *prompt)
Definition: marlin_host.c:52
Definition: marlin_host.h:22
Definition: marlin_host.h:21
Definition: marlin_host.h:35
#define HOST_PROMPT_MAX_BUTTONS
Definition: marlin_host.h:7
void marlin_host_prompt_decode(uint32_t ui32, marlin_host_prompt_t *prompt)
Definition: marlin_host.c:56
Definition: marlin_host.h:30
host_prompt_button_t
Definition: marlin_host.h:25
const uint8_t[]
Definition: 404_html.c:3
Definition: marlin_host.h:39
host_prompt_type_t marlin_host_prompt_by_text(const char *text)
Definition: marlin_host.c:29
Definition: marlin_host.h:29
host_prompt_reason_t
Definition: marlin_host.h:34
Definition: marlin_host.h:37
const char * marlin_host_prompt_button_get_text(host_prompt_button_t button)
Definition: marlin_host.c:37
Definition: marlin_host.h:27
Definition: marlin_host.h:40
uint32_t marlin_host_prompt_encode(marlin_host_prompt_t *prompt)
Definition: marlin_host.c:52