Prusa MINI Firmware overview
screen_menu_info.c File Reference
#include "gui.h"
#include "screen_menu.h"

Enumerations

enum  MI_t {
  MI_RETURN, MI_RETURN, MI_WIZARD, MI_Z_OFFSET,
  MI_AUTO_HOME, MI_MESH_BED, MI_SELFTEST, MI_CALIB_FIRST,
  MI_RETURN, MI_LOAD, MI_UNLOAD, MI_CHANGE,
  MI_PURGE, MI_RETURN, MI_ALWAYS, MI_ON_RESTART,
  MI_COUNT, MI_RETURN, MI_SYS_INFO, MI_VERSIONS,
  MI_RETURN, MI_MOVE_X, MI_MOVE_Y, MI_MOVE_Z,
  MI_MOVE_E, MI_RETURN, MI_SYS_RESET, MI_CLR_EEPROM,
  MI_WDG_TEST, MI_PLL, MI_SSCG, MI_SSCG_FREQ,
  MI_SSCG_DEPTH, MI_SPI_PRESC, MI_MESH, MI_BSOD,
  MI_BSOD_HARD_FAULT, MI_COUNT, MI_RETURN, MI_TEMPERATURE,
  MI_MOVE_AXIS, MI_DISABLE_STEP, MI_FACTORY_DEFAULTS, MI_FW_UPDATE,
  MI_FILAMENT_SENSOR, MI_TIMEOUT, MI_LAN_SETTINGS, MI_RETURN,
  MI_NOZZLE, MI_HEATBED, MI_PRINTFAN, MI_COOLDOWN,
  MI_RETURN, MI_NOZZLE, MI_HEAT_PWM_PERIOD, MI_HEATBED,
  MI_FAN_PWM_PERIOD, MI_PRINTFAN, MI_COOLDOWN, MI_COUNT
}
 

Functions

void screen_menu_info_init (screen_t *screen)
 
int screen_menu_info_event (screen_t *screen, window_t *window, uint8_t event, void *param)
 

Variables

screen_t screen_sysinfo
 
screen_t screen_version_info
 
const menu_item_t _menu_info_items []
 
screen_t screen_menu_info
 
const screen_tpscreen_menu_info = &screen_menu_info
 

Enumeration Type Documentation

◆ MI_t

enum MI_t
Enumerator
MI_RETURN 
MI_RETURN 
MI_WIZARD 
MI_Z_OFFSET 
MI_AUTO_HOME 
MI_MESH_BED 
MI_SELFTEST 
MI_CALIB_FIRST 
MI_RETURN 
MI_LOAD 
MI_UNLOAD 
MI_CHANGE 
MI_PURGE 
MI_RETURN 
MI_ALWAYS 
MI_ON_RESTART 
MI_COUNT 
MI_RETURN 
MI_SYS_INFO 
MI_VERSIONS 
MI_RETURN 
MI_MOVE_X 
MI_MOVE_Y 
MI_MOVE_Z 
MI_MOVE_E 
MI_RETURN 
MI_SYS_RESET 
MI_CLR_EEPROM 
MI_WDG_TEST 
MI_PLL 
MI_SSCG 
MI_SSCG_FREQ 
MI_SSCG_DEPTH 
MI_SPI_PRESC 
MI_MESH 
MI_BSOD 
MI_BSOD_HARD_FAULT 
MI_COUNT 
MI_RETURN 
MI_TEMPERATURE 
MI_MOVE_AXIS 
MI_DISABLE_STEP 
MI_FACTORY_DEFAULTS 
MI_FW_UPDATE 
MI_FILAMENT_SENSOR 
MI_TIMEOUT 
MI_LAN_SETTINGS 
MI_RETURN 
MI_NOZZLE 
MI_HEATBED 
MI_PRINTFAN 
MI_COOLDOWN 
MI_RETURN 
MI_NOZZLE 
MI_HEAT_PWM_PERIOD 
MI_HEATBED 
MI_FAN_PWM_PERIOD 
MI_PRINTFAN 
MI_COOLDOWN 
MI_COUNT 
9  {
10  MI_RETURN,
11 #ifdef _DEBUG
12  MI_STATISTIC,
13 #endif //_DEBUG
15 #ifdef _DEBUG
16  MI_FAIL_STAT,
17  MI_SUPPORT,
18 #endif //_DEBUG
20 } MI_t;

Function Documentation

◆ screen_menu_info_init()

void screen_menu_info_init ( screen_t screen)
44  {
45  int count = sizeof(_menu_info_items) / sizeof(menu_item_t);
46  screen_menu_init(screen, "INFO", count + 1, 1, 0);
48  memcpy(psmd->items + 1, _menu_info_items, count * sizeof(menu_item_t));
49 }
Here is the call graph for this function:

◆ screen_menu_info_event()

int screen_menu_info_event ( screen_t screen,
window_t window,
uint8_t  event,
void param 
)
51  {
52  return screen_menu_event(screen, window, event, param);
53 }
Here is the call graph for this function:

Variable Documentation

◆ screen_sysinfo

screen_t screen_sysinfo

◆ screen_version_info

screen_t screen_version_info

◆ _menu_info_items

const menu_item_t _menu_info_items[]
Initial value:
= {
{ {
"System Info",
0,
},
{ {
"Version Info",
0,
},
}

◆ screen_menu_info

◆ pscreen_menu_info

const screen_t* pscreen_menu_info = &screen_menu_info
_menu_item_t
Definition: screen_menu.h:19
screen_menu_draw
void screen_menu_draw(screen_t *screen)
Definition: screen_menu.c:90
screen_menu_event
int screen_menu_event(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_menu.c:92
screen_menu_done
void screen_menu_done(screen_t *screen)
Definition: screen_menu.c:78
_menu_info_items
const menu_item_t _menu_info_items[]
Definition: screen_menu_info.c:22
screen_menu_info_event
int screen_menu_info_event(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_menu_info.c:51
MI_RETURN
Definition: screen_menu_info.c:10
screen_sysinfo
screen_t screen_sysinfo
Definition: screen_sysinf.c:112
screen_menu_init
void screen_menu_init(screen_t *screen, const char *label, int count, uint8_t footer, uint8_t help)
Definition: screen_menu.c:25
screen_menu_info_init
void screen_menu_info_init(screen_t *screen)
Definition: screen_menu_info.c:44
psmd
#define psmd
Definition: screen_menu.h:40
WI_LABEL
Definition: window_menu.h:14
menu_item_return
const menu_item_t menu_item_return
Definition: screen_menu.c:14
screen_menu_data_t
Definition: screen_menu.h:24
MI_SYS_INFO
Definition: screen_menu_info.c:14
screen_version_info
screen_t screen_version_info
Definition: screen_version_info.cpp:98
MI_VERSIONS
Definition: screen_menu_info.c:19
MI_t
MI_t
Definition: screen_menu_info.c:9