fremoclock
1_3A01
FREMO Clock - Software for UTG
Main Page
Related Pages
Data Structures
Files
File List
Globals
UserInterfaceMenu.h
Go to the documentation of this file.
1
28
/*
29
Copyright (C) 2007 Bernd Wisotzki
30
31
This library is free software; you can redistribute it and/or
32
modify it under the terms of the GNU Lesser General Public
33
License as published by the Free Software Foundation; either
34
version 2.1 of the License, or (at your option) any later version.
35
36
This library is distributed in the hope that it will be useful,
37
but WITHOUT ANY WARRANTY; without even the implied warranty of
38
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
39
Lesser General Public License for more details.
40
41
You should have received a copy of the GNU Lesser General Public
42
License along with this library; if not, write to the Free Software
43
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
44
*/
45
46
#ifndef USERINTERFACEMENU_H_
47
#define USERINTERFACEMENU_H_
48
49
#ifdef __cplusplus
50
extern
"C"
{
51
#endif
52
53
/* -- Defines --------------------------------------------------------------- */
54
58
typedef
enum
{
59
MENU_RES_NORMAL
= 0,
60
MENU_RES_PROG
= 1,
61
MENU_RES_SHUTDOWN
= 2,
62
MENU_RES_BACK
= 3
63
}
menuResult_t
;
64
69
typedef
enum
{
70
MENU_STARTUP_NORMAL
= 0,
71
MENU_STARTUP_PROG
= 1
72
}
menuStartup_t
;
73
77
typedef
enum
{
78
MENUE_NORMAL_CLOCK_OPERATION
= 0,
79
MENUE_NORMAL_QUICK_OPERATION
= 1,
80
MENUE_NORMAL_TIME_FACTOR
= 2,
81
MENUE_NORMAL_START_TIME
= 3,
82
MENUE_NORMAL_CURRENT_TIME
= 4,
83
MENUE_NORMAL_TARGET_TIME
= 5,
84
MENUE_NORMAL_PROG
= 6,
85
MENUE_NORMAL_SHUTDOWN
= 7
86
}
menuNormal_t
;
87
91
typedef
enum
{
92
MENUE_PROGRAM_PULSE_WIDTH
= 0,
93
MENUE_PROGRAM_SET0
= 1,
94
MENUE_PROGRAM_NORMAL
= 2,
95
MENUE_PROGRAM_SHUTDOWN
= 3
96
}
menuProg_t
;
97
101
typedef
enum
{
102
MENU_SHUTDOWN_BACK
= 0,
103
MENU_SHUTDOWN_SHUTDOWN
= 1
104
}
menuShutdown_t
;
105
109
typedef
enum
{
110
MENU_FASTFWD_START
= 0,
111
MENU_FASTFWD_NULL
= 1,
112
MENU_FASTFWD_BACK
= 2
113
}
menuFastFwd_t
;
114
118
typedef
enum
{
119
MENU_NORMAL_START
= 0,
120
MENU_NORMAL_BACK
= 1,
121
MENU_NORMAL_STOP
= 2
122
}
menuNormalClock_t
;
123
127
typedef
enum
{
128
MENU_SET_MINUTE
= 0,
129
MENU_SET_HOUR
= 1,
130
MENU_SET_BACK
= 2
131
}
menuSetTime_t
;
132
136
typedef
enum
{
137
MENU_SET0_BACK
= 0,
138
MENU_SET0_SET0
= 1
139
}
menuSet0_t
;
140
141
/* -- FunctionPrototypes ---------------------------------------------------- */
142
143
// for comment see UserInterfaceMenu.c
144
void
UserInterfaceBasicInit
(
void
);
145
146
// for comment see UserInterfaceMenu.c
147
void
UserInterfaceMenuWelcome
(
void
);
148
149
// for comment see UserInterfaceMenu.c
150
menuResult_t
UserInterfaceMenuStartup
(
void
);
151
152
// for comment see UserInterfaceMenu.c
153
menuResult_t
UserInterfaceMenuNormal
(
void
);
154
155
// for comment see UserInterfaceMenu.c
156
menuResult_t
UserInterfaceMenuProg
(
void
);
157
158
// for comment see UserInterfaceMenu.c
159
menuResult_t
UserInterfaceMenuShutdown
(
void
);
160
161
// for comment see UserInterfaceMenu.c
162
void
UserInterfaceMenuEndOfSoap
(
void
);
163
164
#ifdef __cplusplus
165
}
166
#endif
167
168
#endif
/* USERINTERFACEMENU_H_ */
MENU_FASTFWD_START
"SvSrt" | Schneller Vorlauf bis Startzeit
Definition:
UserInterfaceMenu.h:110
UserInterfaceMenuShutdown
menuResult_t UserInterfaceMenuShutdown(void)
Prepare shutdown.
Definition:
UserInterfaceMenu.c:218
MENUE_NORMAL_QUICK_OPERATION
"NmSvr" | Schneller Vorlauf bis __
Definition:
UserInterfaceMenu.h:79
MENU_FASTFWD_BACK
"Zurck" | Zurueck
Definition:
UserInterfaceMenu.h:112
MENU_STARTUP_NORMAL
"Norml" | Normalbetrieb
Definition:
UserInterfaceMenu.h:70
MENUE_NORMAL_TIME_FACTOR
"NmVkz" | Zeitverkuerzung
Definition:
UserInterfaceMenu.h:80
MENU_RES_NORMAL
User has selected "Norml" in sub menu.
Definition:
UserInterfaceMenu.h:59
MENUE_PROGRAM_SHUTDOWN
"Shutd" | Shutdown
Definition:
UserInterfaceMenu.h:95
UserInterfaceMenuProg
menuResult_t UserInterfaceMenuProg(void)
Display Programming Menu ("Progr").
Definition:
UserInterfaceMenu.c:184
MENUE_NORMAL_PROG
"Progr" | Programmierung
Definition:
UserInterfaceMenu.h:84
menuStartup_t
menuStartup_t
Enum used for startup menu.
Definition:
UserInterfaceMenu.h:69
MENUE_PROGRAM_PULSE_WIDTH
"PrPuB" | Einstellen Pulsbreite
Definition:
UserInterfaceMenu.h:92
menuResult_t
menuResult_t
Enum used for return values from sub menus.
Definition:
UserInterfaceMenu.h:58
MENUE_NORMAL_START_TIME
"NmSZt" | Startzeit
Definition:
UserInterfaceMenu.h:81
menuFastFwd_t
menuFastFwd_t
Enum used for Fast Forward Menu to select between Start Time or 00:00.
Definition:
UserInterfaceMenu.h:109
UserInterfaceBasicInit
void UserInterfaceBasicInit(void)
Init all the basic HW and.
Definition:
UserInterfaceMenu.c:71
UserInterfaceMenuEndOfSoap
void UserInterfaceMenuEndOfSoap(void)
Shutdown, write to EEPROM and display EndOfSoap.
Definition:
UserInterfaceMenu.c:252
menuShutdown_t
menuShutdown_t
Enum used for Shutdown Menu.
Definition:
UserInterfaceMenu.h:101
UserInterfaceMenuStartup
menuResult_t UserInterfaceMenuStartup(void)
Display Startup Menu ("Init") and initialize from EEPROM.
Definition:
UserInterfaceMenu.c:110
MENUE_PROGRAM_SET0
"PrSe0" | Aktuelle Zeit auf 00:00
Definition:
UserInterfaceMenu.h:93
UserInterfaceMenuWelcome
void UserInterfaceMenuWelcome(void)
Send a welcome message to LCD.
Definition:
UserInterfaceMenu.c:85
menuSetTime_t
menuSetTime_t
Enum used for Menus where Hour and Minute of a time value are modified.
Definition:
UserInterfaceMenu.h:127
menuNormal_t
menuNormal_t
Enum used for Normal Menu (normal operation).
Definition:
UserInterfaceMenu.h:77
MENU_NORMAL_BACK
"Zurck" | Zurueck
Definition:
UserInterfaceMenu.h:120
UserInterfaceMenuNormal
menuResult_t UserInterfaceMenuNormal(void)
Normal operation.
Definition:
UserInterfaceMenu.c:147
menuNormalClock_t
menuNormalClock_t
Enum used for Normal Clock Menu.
Definition:
UserInterfaceMenu.h:118
MENUE_NORMAL_CURRENT_TIME
"NmAZt" | Aktuelle Zeit einstellen
Definition:
UserInterfaceMenu.h:82
menuProg_t
menuProg_t
Enum used for Program Menu.
Definition:
UserInterfaceMenu.h:91
MENU_SET_MINUTE
"Minte" | Minute einstellen
Definition:
UserInterfaceMenu.h:128
MENU_RES_BACK
User has selected "Zurck" in sub menu.
Definition:
UserInterfaceMenu.h:62
MENU_SET_HOUR
"Stnde" | Stunde einstellen
Definition:
UserInterfaceMenu.h:129
MENUE_NORMAL_CLOCK_OPERATION
"NmUhr" | Normaler Uhrbetrieb
Definition:
UserInterfaceMenu.h:78
MENU_STARTUP_PROG
"Progr" | Programmierung
Definition:
UserInterfaceMenu.h:71
MENU_RES_SHUTDOWN
User has selected "Shutd" in sub menu.
Definition:
UserInterfaceMenu.h:61
MENU_SET0_BACK
"Zurck" | Zurueck
Definition:
UserInterfaceMenu.h:137
MENUE_NORMAL_SHUTDOWN
"Shutd" | Shutdown
Definition:
UserInterfaceMenu.h:85
MENU_RES_PROG
User has selected "Progr" in sub menu.
Definition:
UserInterfaceMenu.h:60
MENU_NORMAL_STOP
"Stop " | Uhr Stoppen
Definition:
UserInterfaceMenu.h:121
MENU_SHUTDOWN_SHUTDOWN
"Shutd" | Shutdown
Definition:
UserInterfaceMenu.h:103
MENU_SET0_SET0
"PrSe0" | Aktuelle Zeit auf 00:00
Definition:
UserInterfaceMenu.h:138
menuSet0_t
menuSet0_t
Enum used for Menu setting time to midnight.
Definition:
UserInterfaceMenu.h:136
MENUE_PROGRAM_NORMAL
"Norml" | Normalbetrieb
Definition:
UserInterfaceMenu.h:94
MENU_SHUTDOWN_BACK
"Zurck" | Zurueck
Definition:
UserInterfaceMenu.h:102
MENU_NORMAL_START
"Start" | Uhr Start
Definition:
UserInterfaceMenu.h:119
MENUE_NORMAL_TARGET_TIME
"NmZZt" | Zielzeit
Definition:
UserInterfaceMenu.h:83
MENU_FASTFWD_NULL
"SvNul" | Schneller Vorlauf bis 00:00
Definition:
UserInterfaceMenu.h:111
MENU_SET_BACK
"Zurck" | Zurueck
Definition:
UserInterfaceMenu.h:130
20_UserInterface
UserInterfaceMenu.h
Generated on Sat Sep 3 2016 10:08:05 for fremoclock by
1.8.11