fremoclock  1_3A01
FREMO Clock - Software for UTG
UserInterfaceMenu.c File Reference

Subroutines for UserInterfaceMenu. More...

Go to the source code of this file.

Functions

void UserInterfaceBasicInit (void)
 Init all the basic HW and. More...
 
void UserInterfaceMenuWelcome (void)
 Send a welcome message to LCD. More...
 
menuResult_t UserInterfaceMenuStartup (void)
 Display Startup Menu ("Init") and initialize from EEPROM. More...
 
menuResult_t UserInterfaceMenuNormal (void)
 Normal operation. More...
 
menuResult_t UserInterfaceMenuProg (void)
 Display Programming Menu ("Progr"). More...
 
menuResult_t UserInterfaceMenuShutdown (void)
 Prepare shutdown. More...
 
void UserInterfaceMenuEndOfSoap (void)
 Shutdown, write to EEPROM and display EndOfSoap. More...
 

Detailed Description

Subroutines for UserInterfaceMenu.

This includes:

  • Init Clock from EEPROM and check
  • Initmenu
  • Handler

Target:

  • AtMega128 on PROTO_128 and AtMega48/88/168

Software

  • AVR-GCC

History:

  • 070312 First implementation (R 0)
  • 150427 StS: Refactoring (Push button functionality), code cleanup
  • 150428 StS: Refactoring push button single shot actions
  • 150529 StS: Removed old logging code
Version
$Id: UserInterfaceMenu.c 159 2016-09-03 06:51:47Z pischky $
Author
Bernd Wisotzki [BA] wsb56.nosp@m.@use.nosp@m.rs.so.nosp@m.urce.nosp@m.forge.nosp@m..net
Date
11-Mar-2007

Definition in file UserInterfaceMenu.c.

Function Documentation

void UserInterfaceBasicInit ( void  )

Init all the basic HW and.

Definition at line 71 of file UserInterfaceMenu.c.

Here is the call graph for this function:

void UserInterfaceMenuEndOfSoap ( void  )

Shutdown, write to EEPROM and display EndOfSoap.

Definition at line 252 of file UserInterfaceMenu.c.

Here is the call graph for this function:

menuResult_t UserInterfaceMenuNormal ( void  )

Normal operation.

Display Normal Operation Menu ("Norml").

Returns
user selection: MENU_RES_PROG or MENU_RES_SHUTDOWN

Definition at line 147 of file UserInterfaceMenu.c.

Here is the call graph for this function:

menuResult_t UserInterfaceMenuProg ( void  )

Display Programming Menu ("Progr").

Returns
user selection: MENU_RES_NORMAL or MENU_RES_SHUTDOWN

Definition at line 184 of file UserInterfaceMenu.c.

Here is the call graph for this function:

menuResult_t UserInterfaceMenuShutdown ( void  )

Prepare shutdown.

Display Shutdown Menu ("Shutd").

Returns
user selection: MENU_RES_BACK or MENU_RES_SHUTDOWN

Definition at line 218 of file UserInterfaceMenu.c.

Here is the call graph for this function:

menuResult_t UserInterfaceMenuStartup ( void  )

Display Startup Menu ("Init") and initialize from EEPROM.

Reads EEPROM first and check for valid data. When data is valid NORMAL is preselected otherwise PROG is preselected.

Returns
user selection: MENU_RES_NORMAL or MENU_RES_PROG

Definition at line 110 of file UserInterfaceMenu.c.

Here is the call graph for this function:

void UserInterfaceMenuWelcome ( void  )

Send a welcome message to LCD.

Definition at line 85 of file UserInterfaceMenu.c.

Here is the call graph for this function: