Electronic Load  1.0
Programmable Constant Current Sink
Data Structures | Functions | Variables
menu.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  menu_t
 Contains one menu. More...
 
struct  menuItem_t
 Contains data for one menu item. More...
 

Functions

void Menu (const menu_t *menu)
 Executes a menu page. More...
 
void MenuMain (void)
 Displays the Main Menu. More...
 

Variables

const menu_t menuStructMain
 
uint8_t redrawRequest
 Set to 1 by USB if screen was modified. More...
 

Function Documentation

◆ Menu()

void Menu ( const menu_t menu)

Executes a menu page.

Parameters
menuA pointer to an MENU_t-struct

The display is erased and the menu is drawn. If an entry is selected, the according function is called. This function returns if the cancel-key is pressed. On return, the display is cleared.

Here is the call graph for this function:

◆ MenuMain()

void MenuMain ( void  )

Displays the Main Menu.

Here is the call graph for this function:

Variable Documentation

◆ menuStructMain

const menu_t menuStructMain

◆ redrawRequest

uint8_t redrawRequest

Set to 1 by USB if screen was modified.