Prusa MINI Firmware overview
selftest.h
Go to the documentation of this file.
1 // selftest.h
2 #ifndef _SELFTEST_H
3 #define _SELFTEST_H
4 
5 #include <inttypes.h>
6 #include "gui.h"
7 #include "wizard_types.h"
8 #include "selftest_home.h"
9 #include "selftest_cool.h"
10 #include "selftest_temp.h"
11 #include "selftest_fans_axis.h"
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif //__cplusplus
16 
17 #pragma pack(push)
18 #pragma pack(1)
19 
20 //#pragma pack(1) makes enums 8 bit
21 typedef struct
22 {
28 
29 #pragma pack(pop)
30 
31 extern int wizard_selftest_is_ok(int16_t id_body, selftest_data_t *p_data);
32 
33 #ifdef __cplusplus
34 }
35 #endif //__cplusplus
36 
37 #endif //_SELFTEST_
selftest.h
selftest_fans_axis_data_t::state_y
_TEST_STATE_t state_y
Definition: selftest_fans_axis.h:42
selftest_fans_axis_data_t::state_z
_TEST_STATE_t state_z
Definition: selftest_fans_axis.h:43
selftest_home_data_t
Definition: selftest_home.h:25
wizard_selftest_is_ok
int wizard_selftest_is_ok(int16_t id_body, selftest_data_t *p_data)
Definition: selftest.c:5
selftest_data_t::home_data
selftest_home_data_t home_data
Definition: selftest.h:23
selftest_home.h
selftest_temp_data_t::state_preheat_nozzle
_TEST_STATE_t state_preheat_nozzle
Definition: selftest_temp.h:29
selftest_cool_data_t::state_cool
_TEST_STATE_t state_cool
Definition: selftest_cool.h:32
wizard_selftest_is_ok
int wizard_selftest_is_ok(int16_t id_body, selftest_data_t *p_data)
Definition: selftest.c:5
selftest_data_t::fans_axis_data
selftest_fans_axis_data_t fans_axis_data
Definition: selftest.h:26
selftest_temp_data_t::state_preheat_bed
_TEST_STATE_t state_preheat_bed
Definition: selftest_temp.h:30
selftest_fans_axis_data_t::state_x
_TEST_STATE_t state_x
Definition: selftest_fans_axis.h:41
selftest_temp_data_t
Definition: selftest_temp.h:27
selftest_home_data_t::state_home
_TEST_STATE_t state_home
Definition: selftest_home.h:27
selftest_cool_data_t
Definition: selftest_cool.h:30
selftest_data_t::cool_data
selftest_cool_data_t cool_data
Definition: selftest.h:24
selftest_data_t
Definition: selftest.h:21
selftest_fans_axis_data_t::state_fan0
_TEST_STATE_t state_fan0
Definition: selftest_fans_axis.h:39
wizard_types.h
selftest_fans_axis_data_t::state_fan1
_TEST_STATE_t state_fan1
Definition: selftest_fans_axis.h:40
selftest_data_t::temp_data
selftest_temp_data_t temp_data
Definition: selftest.h:25
selftest_temp.h
selftest_fans_axis_data_t
Definition: selftest_fans_axis.h:37
selftest_fans_axis.h
gui.h
selftest_temp_data_t::state_temp_bed
_TEST_STATE_t state_temp_bed
Definition: selftest_temp.h:32
selftest_cool.h
_TEST_PASSED
Definition: wizard_types.h:87
selftest_temp_data_t::state_temp_nozzle
_TEST_STATE_t state_temp_nozzle
Definition: selftest_temp.h:31