Prusa MINI Firmware overview
|
#include "gui.h"
#include "config.h"
#include "dbg.h"
#include "stm32f4xx_hal.h"
#include "bsod.h"
◆ pd
◆ screen_test_init()
◆ screen_test_done()
◆ screen_test_draw()
◆ screen_test_event()
110 switch ((
int)param) {
130 temp_error(
"TEST BED ERROR",
"Bed", 1.0, 2.0, 3.0, 4.0);
137 if ((
int)param ==
pd->id_tim)
139 else if ((
int)param ==
pd->id_tim1)
◆ pscreen_test_gui
◆ pscreen_test_term
◆ pscreen_test_msgbox
◆ pscreen_test_graph
◆ pscreen_test_temperature
◆ pscreen_test_disp_mem
◆ screen_test
◆ pscreen_test
int screen_test_event(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_test.c:108
screen_t * pscreen_test_term
Definition: screen_test_term.c:78
void screen_test_done(screen_t *screen)
Definition: screen_test.c:101
static rect_ui16_t rect_ui16(uint16_t x, uint16_t y, uint16_t w, uint16_t h)
Definition: guitypes.h:159
void window_destroy(int16_t id)
Definition: window.c:132
void screen_open(int16_t screen_id)
Definition: screen.c:62
uint32_t HAL_GetTick(void)
Provides a tick value in millisecond.
Definition: stm32f4xx_hal.c:339
void screen_close(void)
Definition: screen.c:80
void window_set_text(int16_t id, const char *text)
Definition: window.c:340
#define WINDOW_CLS_FRAME
Definition: window.h:9
Definition: screen_test.c:19
void window_set_tag(int16_t id, uint8_t tag)
Definition: window.c:329
#define _dbg(...)
Definition: dbg.h:50
void screen_test_draw(screen_t *screen)
Definition: screen_test.c:105
#define WINDOW_CLS_TEXT
Definition: window.h:10
#define WINDOW_EVENT_CLICK
Definition: window.h:46
screen_t * pscreen_test_graph
Definition: screen_test_graph.c:111
int8_t gui_timer_create_periodical(uint32_t ms, int16_t win_id)
Definition: gui_timer.c:70
int8_t gui_timer_create_oneshot(uint32_t ms, int16_t win_id)
Definition: gui_timer.c:66
int16_t window_create_ptr(int16_t cls_id, int16_t id_parent, rect_ui16_t rect, void *ptr)
Definition: window.c:102
void window_enable(int16_t id)
Definition: window.c:517
screen_t * pscreen_test_msgbox
Definition: screen_test_msgbox.c:147
int16_t id
Definition: screen.h:19
#define WINDOW_EVENT_TIMER
Definition: window.h:50
screen_t * pscreen_test_disp_mem
Definition: screen_test_disp_mem.c:629
#define pd
Definition: screen_test.c:37
void temp_error(const char *error, const char *module, float t_noz, float tt_noz, float t_bed, float tt_bed)
Definition: bsod.c:207
screen_t * pscreen_test_gui
Definition: screen_test_gui.c:131
screen_t * pscreen_test_temperature
Definition: screen_test_temperature.cpp:109
void screen_test_init(screen_t *screen)
Definition: screen_test.c:39