Prusa MINI Firmware overview
|
#include <inttypes.h>
#include "gui.h"
#include "wizard_types.h"
Go to the source code of this file.
|
void | wizard_init_screen_selftest_fans_axis (int16_t id_body, selftest_fans_axis_screen_t *p_screen, selftest_fans_axis_data_t *p_data) |
|
int | wizard_selftest_fan0 (int16_t id_body, selftest_fans_axis_screen_t *p_screen, selftest_fans_axis_data_t *p_data) |
|
int | wizard_selftest_fan1 (int16_t id_body, selftest_fans_axis_screen_t *p_screen, selftest_fans_axis_data_t *p_data) |
|
int | wizard_selftest_x (int16_t id_body, selftest_fans_axis_screen_t *p_screen, selftest_fans_axis_data_t *p_data) |
|
int | wizard_selftest_y (int16_t id_body, selftest_fans_axis_screen_t *p_screen, selftest_fans_axis_data_t *p_data) |
|
int | wizard_selftest_z (int16_t id_body, selftest_fans_axis_screen_t *p_screen, selftest_fans_axis_data_t *p_data) |
|
◆ wizard_init_screen_selftest_fans_axis()
◆ wizard_selftest_fan0()
89 if (progress == 100) {
◆ wizard_selftest_fan1()
107 if (progress == 100) {
◆ wizard_selftest_x()
◆ wizard_selftest_y()
◆ wizard_selftest_z()
#define _SELFTEST_Z_TIME
Definition: wizard_config.h:31
_TEST_STATE_t state_y
Definition: selftest_fans_axis.h:42
_TEST_STATE_t state_z
Definition: selftest_fans_axis.h:43
#define _SELFTEST_Z_MAX
Definition: wizard_config.h:29
#define _SELFTEST_Y_MIN
Definition: wizard_config.h:23
window_text_t text_x_axis
Definition: selftest_fans_axis.h:24
Definition: wizard_types.h:88
void window_destroy_children(int16_t id)
Definition: window.c:157
window_icon_t icon_print_fan
Definition: selftest_fans_axis.h:28
void window_invalidate(int16_t id)
Definition: window.c:304
static rect_ui16_t rect_ui16(uint16_t x, uint16_t y, uint16_t w, uint16_t h)
Definition: guitypes.h:159
#define WIZARD_MARGIN_LEFT
Definition: wizard_ui.h:8
static const _cl_st_ax axisY
Definition: selftest_fans_axis.c:306
window_text_t text_print_fan
Definition: selftest_fans_axis.h:22
#define _SELFTEST_FAN1_MAX
Definition: wizard_config.h:16
void marlin_stop_processing(void)
Definition: marlin_client.c:166
void window_set_icon_id(int16_t id, uint16_t id_res)
Definition: window.c:659
window_text_t text_z_axis
Definition: selftest_fans_axis.h:26
#define _SELFTEST_X_MIN
Definition: wizard_config.h:18
void window_show(int16_t id)
Definition: window.c:529
#define _SELFTEST_Y_TIME
Definition: wizard_config.h:26
window_progress_t progress_fan
Definition: selftest_fans_axis.h:18
uint32_t Tacho_FAN1
Definition: main.c:153
#define _SELFTEST_X_TIME
Definition: wizard_config.h:21
int16_t id
Definition: window.h:79
#define _SELFTEST_X_MAX
Definition: wizard_config.h:19
_TEST_STATE_t state_x
Definition: selftest_fans_axis.h:41
window_t win
Definition: window_icon.h:12
#define WIZARD_X_SPACE
Definition: wizard_ui.h:10
void wizard_selftest_axis(const _cl_st_ax *_ths, selftest_fans_axis_data_t *p_data, uint8_t *state, int axis, int fr, int min, int max, int dir)
Definition: selftest_fans_axis.c:339
static const _cl_st_ax axisX
Definition: selftest_fans_axis.c:285
void window_set_text(int16_t id, const char *text)
Definition: window.c:340
#define _SELFTEST_FAN0_MAX
Definition: wizard_config.h:12
#define WINDOW_CLS_PROGRESS
Definition: window.h:20
#define _SELFTEST_Z_MIN
Definition: wizard_config.h:28
window_text_t text_extruder_fan
Definition: selftest_fans_axis.h:21
#define _SELFTEST_Z_FR
Definition: wizard_config.h:30
#define _SELFTEST_Y_FR
Definition: wizard_config.h:25
void window_set_value(int16_t id, float value)
Definition: window.c:363
window_progress_t progress_axis
Definition: selftest_fans_axis.h:19
#define _SELFTEST_FAN1_MIN
Definition: wizard_config.h:15
window_text_t text_fan_test
Definition: selftest_fans_axis.h:20
uint32_t timer0
Definition: selftest_fans_axis.h:32
window_text_t text_y_axis
Definition: selftest_fans_axis.h:25
void hwio_fan_set_pwm(int i_fan, int val)
Definition: hwio_a3ides_2209_02.c:447
window_icon_t icon_x_axis
Definition: selftest_fans_axis.h:29
#define _SELFTEST_FAN1_TIME
Definition: wizard_config.h:14
window_icon_t icon_z_axis
Definition: selftest_fans_axis.h:31
#define _SELFTEST_Y_MAX
Definition: wizard_config.h:24
#define WINDOW_CLS_ICON
Definition: window.h:12
Definition: wizard_ui.h:20
_TEST_STATE_t state_fan0
Definition: selftest_fans_axis.h:39
static const _cl_st_ax axisZ
Definition: selftest_fans_axis.c:335
#define WINDOW_CLS_TEXT
Definition: window.h:10
Definition: wizard_types.h:85
int16_t window_create_ptr(int16_t cls_id, int16_t id_parent, rect_ui16_t rect, void *ptr)
Definition: window.c:102
_TEST_STATE_t state_fan1
Definition: selftest_fans_axis.h:40
window_icon_t icon_y_axis
Definition: selftest_fans_axis.h:30
uint16_t wizard_get_test_icon_resource(uint8_t state)
Definition: wizard_ui.c:10
window_icon_t icon_extruder_fan
Definition: selftest_fans_axis.h:27
#define _SELFTEST_X_FR
Definition: wizard_config.h:20
int wizard_timer(uint32_t *p_timer, uint32_t delay_ms, _TEST_STATE_t *pstate, _WIZ_TIMER_t type)
Definition: wizard_ui.c:58
window_text_t text_checking_axis
Definition: selftest_fans_axis.h:23
#define _SELFTEST_FAN0_MIN
Definition: wizard_config.h:11
window_t win
Definition: window_progress.h:16
uint32_t Tacho_FAN0
Definition: main.c:152
void wizard_update_test_icon(int16_t win_id, uint8_t state)
Definition: wizard_ui.c:24
Definition: wizard_ui.h:19
#define _SELFTEST_FAN0_TIME
Definition: wizard_config.h:10
void wizard_init_screen_selftest_fans_axis(int16_t id_body, selftest_fans_axis_screen_t *p_screen, selftest_fans_axis_data_t *p_data)
Definition: selftest_fans_axis.c:14