WIZlib Library API
ver 1.0
WIZlib Library API User Menual
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
library
appmod
usermenu
usermenu.h
Go to the documentation of this file.
1
12
#ifndef _USERMENU_H
13
#define _USERMENU_H
14
15
#include "
common/common.h
"
16
17
25
#ifndef MAX_MENU_COUNT // If you want different value, define this at wizconfig.h
26
#define MAX_MENU_COUNT 10
27
#endif
28
36
#ifndef CMD_BUF_SIZE // If you want different value, define this at wizconfig.h
37
#define CMD_BUF_SIZE 100
38
#endif
39
46
typedef
enum
{
47
MC_START
,
48
MC_END
,
49
MC_DATA
50
}
menu_ctrl
;
51
61
typedef
int8 (*
menu_func
)(
menu_ctrl
mctrl, int8 *mbuf);
62
63
void
menu_init
(
void
);
64
void
menu_print_tree
(
void
);
65
int8
menu_add
(int8 *desc, int8 parent,
menu_func
mfunc);
66
void
menu_run
(
void
);
67
68
69
#endif //_USERMENU_H
70
71
72
Generated on Wed Mar 13 2013 16:12:39 for WIZlib Library API by
1.8.3.1