Prusa MINI Firmware overview
|
Go to the documentation of this file.
8 #ifndef STATUS_FOOTER_H_
9 #define STATUS_FOOTER_H_
34 char text_heatbed[10];
35 char text_prnspeed[5];
38 #ifdef LCD_HEATBREAK_TO_FILAMENT
39 char text_heatbreak[5];
48 #define BUTTON_STATUS_NOZZLE 0xf0
49 #define BUTTON_STATUS_HEATBED 0xf1
50 #define BUTTON_STATUS_PRNSPEED 0xf2
51 #define BUTTON_STATUS_Z_AXIS 0xf3
52 #define BUTTON_STATUS_FILAMENT 0xf4
#define IDR_PNG_status_icon_heatbed
Definition: resource.h:21
void window_set_alignment(int16_t id, uint8_t alignment)
Definition: window.c:561
screen_t screen_splash
Definition: screen_splash.c:133
Definition: window_text.h:15
static int last_CPU_load
Definition: screen_sysinf.c:36
window_frame_t frame
Definition: screen_watchdog.c:11
void screen_splash_init(screen_t *screen)
Definition: screen_splash.c:51
#define MARLIN_EVT_Startup
Definition: marlin_events.h:8
uint8_t patch
Definition: shared_config.h:41
void gui_free(void *ptr)
Definition: gui.c:39
uint16_t osGetCPUUsage(void)
Stop Idle monitor.
Definition: cpu_utils.c:139
static FORCE_INLINE int16_t degTargetHotend(const uint8_t E_NAME)
Definition: temperature.h:562
Definition: screen_sysinf.c:44
#define BOOTLOADER_VERSION_ADDRESS
Definition: screen_version_info.cpp:14
#define ALIGN_CENTER_BOTTOM
Definition: guitypes.h:27
Definition: window_frame.h:18
#define COLOR_WHITE
Definition: guitypes.h:41
void window_set_color_back(int16_t id, color_t clr)
Definition: window.c:431
int marlin_event(uint8_t evt_id)
Definition: marlin_client.c:232
int screen_sysinfo_event(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_sysinf.c:93
void wizard_run_complete(void)
Definition: wizard.c:54
#define WINDOW_CLS_NUMB
Definition: window.h:11
void screen_watchdog_done(screen_watchdog_t *screen)
Definition: screen_watchdog.c:47
screen_t screen_sysinfo
Definition: screen_sysinf.c:112
static int actual_CPU_load
Definition: screen_sysinf.c:35
#define pd
Definition: screen_filebrowser.cpp:39
void window_set_format(int16_t id, const char *format)
Definition: window.c:403
variant8_t eeprom_get_var(uint8_t id)
Definition: eeprom.c:75
#define ALIGN_CENTER
Definition: guitypes.h:19
#define COLOR_RED
Definition: guitypes.h:42
static rect_ui16_t rect_ui16(uint16_t x, uint16_t y, uint16_t w, uint16_t h)
Definition: guitypes.h:159
uint8_t ui8
Definition: variant8.h:36
window_text_t text1
Definition: screen_watchdog.c:13
void * gui_malloc(unsigned int size)
Definition: gui.c:35
#define _psd
Definition: screen_splash.c:47
void window_destroy(int16_t id)
Definition: window.c:132
#define IDR_PNG_status_icon_prnspeed
Definition: resource.h:22
#define IDR_FNT_NORMAL
Definition: resource.h:10
#define EEVAR_RUN_FIRSTLAY
Definition: eeprom.h:16
uint8_t i
Definition: screen_test_graph.c:72
#define MSGBOX_ICO_WARNING
Definition: window_msgbox.h:35
#define IDR_FNT_SPECIAL
Definition: resource.h:13
void window_set_icon_id(int16_t id, uint16_t id_res)
Definition: window.c:659
int screen_splash_event(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_splash.c:91
Definition: screen_sysinf.c:51
screen_t * pscreen_test
Definition: screen_test.c:157
Definition: window_icon.h:11
void screen_open(int16_t screen_id)
Definition: screen.c:62
screen_watchdog_t screen_watchdog
Definition: screen_watchdog.c:64
static FORCE_INLINE float degHotend(const uint8_t E_NAME)
Definition: temperature.h:544
#define IDR_PNG_status_icon_z_axis
Definition: resource.h:24
const screen_t * pscreen_version_info
Definition: screen_version_info.cpp:109
int() screen_event_t(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen.h:13
const filament_t filaments[FILAMENTS_END]
Definition: filament.cpp:20
int16_t WINDOW_CLS_LOGO
Definition: window_logo.c:11
window_text_t textExit
Definition: screen_sysinf.c:26
const screen_t * pscreen_marlin
Definition: screen_marlin.c:33
Definition: screen_sysinf.c:46
#define IDR_PNG_status_icon_nozzle
Definition: resource.h:20
uint32_t HAL_GetTick(void)
Provides a tick value in millisecond.
Definition: stm32f4xx_hal.c:339
int16_t id
Definition: window.h:79
void screen_close(void)
Definition: screen.c:80
Definition: screen_sysinf.c:19
#define pd
Definition: screen_sysinf.c:31
#define COLOR_GRAY
Definition: guitypes.h:50
void screen_sysinfo_done(screen_t *screen)
Definition: screen_sysinf.c:86
Definition: window_numb.h:17
xyze_pos_t current_position
Definition: motion.cpp:102
int16_t feedrate_percentage
Definition: motion.cpp:139
void window_set_text(int16_t id, const char *text)
Definition: window.c:340
#define EEVAR_RUN_XYZCALIB
Definition: eeprom.h:15
#define COLOR_ORANGE
Definition: guitypes.h:57
const int version_build_nr
build number
Definition: version.c:44
#define EEVAR_RUN_SELFTEST
Definition: eeprom.h:14
#define WINDOW_CLS_PROGRESS
Definition: window.h:20
window_logo_t logo_prusa_mini
Definition: screen_splash.c:33
#define MSGBOX_RES_YES
Definition: window_msgbox.h:44
void wizard_run_firstlay(void)
Definition: wizard.c:84
window_text_t textCPU_load
Definition: screen_sysinf.c:23
void screen_menu_version_info_done(screen_t *screen)
Definition: screen_version_info.cpp:91
#define WINDOW_CLS_FRAME
Definition: window.h:9
void window_set_value(int16_t id, float value)
Definition: window.c:363
FILAMENT_t get_filament()
Definition: filament.cpp:41
window_icon_t icon_logo_buddy
Definition: screen_splash.c:37
void() screen_init_t(screen_t *screen)
Definition: screen.h:10
screen_t scr
Definition: screen_watchdog.c:17
void screen_stack_push(int16_t screen_id)
Definition: screen.c:48
window_icon_t icon_logo_marlin
Definition: screen_splash.c:38
void screen_sysinfo_draw(screen_t *screen)
Definition: screen_sysinf.c:90
Definition: window_logo.h:20
void window_set_tag(int16_t id, uint8_t tag)
Definition: window.c:329
window_frame_t frame
Definition: screen_sysinf.c:21
const screen_t * pscreen_splash
Definition: screen_splash.c:144
Definition: screen_sysinf.c:45
window_text_t text_progress
Definition: screen_splash.c:34
#define IDR_PNG_header_icon_info
Definition: resource.h:66
uint32_t last_timer
Definition: screen_splash.c:42
const uint8_t[]
Definition: 404_html.c:3
#define IDR_FNT_BIG
Definition: resource.h:11
Definition: screen_sysinf.c:47
window_numb_t textCPU_load_val
Definition: screen_sysinf.c:24
display_t * display
Definition: display.c:6
screen_watchdog_data_t * pd
Definition: screen_watchdog.c:18
uint8_t minor
Definition: shared_config.h:40
#define COLOR_BLUE
Definition: guitypes.h:45
window_t win
Definition: window_frame.h:19
#define WINDOW_CLS_ICON
Definition: window.h:12
char FW_version_str[22]
Definition: bsod.c:106
void screen_splash_timer(screen_t *screen, uint32_t mseconds)
Definition: screen_splash.c:128
Definition: screen_watchdog.c:9
#define WINDOW_CLS_TEXT
Definition: window.h:10
const screen_t * pscreen_sysinfo
Definition: screen_sysinf.c:123
screen_t * pscreen_home
Definition: screen_home.cpp:278
font_t * resource_font(uint16_t id)
Definition: guitypes.c:186
window_text_t textMenuName
Definition: screen_sysinf.c:22
#define WINDOW_EVENT_CLICK
Definition: window.h:46
Definition: screen_version_info.cpp:19
char * version_info_str
Definition: screen_version_info.cpp:28
void screen_splash_draw(screen_t *screen)
Definition: screen_splash.c:88
window_text_t text0
Definition: screen_watchdog.c:12
#define MSGBOX_BTN_YESNO
Definition: window_msgbox.h:24
This file contains all the functions prototypes for the HAL module driver.
int16_t window_create_ptr(int16_t cls_id, int16_t id_parent, rect_ui16_t rect, void *ptr)
Definition: window.c:102
void screen_watchdog_init(screen_watchdog_t *screen)
Definition: screen_watchdog.c:23
void screen_splash_done(screen_t *screen)
Definition: screen_splash.c:84
void window_enable(int16_t id)
Definition: window.c:517
int screen_watchdog_event(screen_watchdog_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_watchdog.c:58
int16_t id
Definition: screen.h:19
#define IDR_PNG_splash_logo_marlin
Definition: resource.h:17
Definition: screen_watchdog.c:16
struct _screen_watchdog_t screen_watchdog_t
uint16_t w
Definition: display.h:25
color_t window_get_color_text(int16_t id)
Definition: window.c:469
#define SERIAL_NUM_ADDR
Definition: screen_version_info.cpp:16
#define WINDOW_EVENT_LOOP
Definition: window.h:49
void() screen_draw_t(screen_t *screen)
Definition: screen.h:12
#define RECT_MACRO(col)
Definition: screen_sysinf.c:48
const screen_t * pscreen_watchdog
Definition: screen_watchdog.c:78
const char version_version[]
semantic version (https://semver.org) is Prusa3D standard
Definition: version.c:31
void screen_menu_version_info_init(screen_t *screen)
Definition: screen_version_info.cpp:30
font_t * font
Definition: window_text.h:19
void screen_sysinfo_init(screen_t *screen)
Definition: screen_sysinf.c:55
void() screen_done_t(screen_t *screen)
Definition: screen.h:11
screen_t screen_version_info
Definition: screen_version_info.cpp:98
window_frame_t frame
Definition: screen_splash.c:32
window_text_t text_version
Definition: screen_splash.c:36
#define OTP_START_ADDR
Definition: screen_version_info.cpp:15
Definition: shared_config.h:38
window_progress_t progress
Definition: screen_splash.c:35
Definition: screen_sysinf.c:43
Definition: window_progress.h:15
Nozzle nozzle
Definition: nozzle.cpp:29
Definition: screen_splash.c:30
void screen_watchdog_draw(screen_watchdog_t *screen)
Definition: screen_watchdog.c:55
static int16_t row2draw
Definition: screen_test_disp_mem.c:84
Temperature thermalManager
Definition: temperature.cpp:89
void window_set_color_text(int16_t id, color_t clr)
Definition: window.c:457
#define IDR_PNG_status_icon_filament
Definition: resource.h:23
uint8_t major
Definition: shared_config.h:39
window_t win
Definition: window_text.h:16
window_icon_t icon_debug
Definition: screen_splash.c:40