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

Subroutines for access to LCD for Normal. More...

Go to the source code of this file.

Functions

static void UserInterfaceLcdNormalSwitch (menuNormalClock_t button)
 Write LCD display sub menu: "Start", "Stop", "Zurck". More...
 
static void UserInterfaceLcdNormalTime (const char *which, menuSetTime_t button, uint8_t hour, uint8_t minute)
 Write LCD: TODO: more details. More...
 
static void UserInterfaceLcdNormalTimeSet (const char *which, uint8_t minute, uint8_t hour)
 Write LCD: TODO: more details. More...
 
void UserInterfaceLcdNormalClock (menuNormalClock_t ucbut)
 Write LCD display in Normal Mode ("NmUhr"). More...
 
void UserInterfaceLcdNormalQuick (menuFastFwd_t ucbut)
 Write LCD display in Normal Mode ("NmSvr"). More...
 
void UserInterfaceLcdNormalQuickClock (menuFastFwd_t ucbut, menuNormalClock_t ucbut1, uint8_t ucminute, uint8_t uchour)
 Write LCD display in Normal Mode ("SvSrt" or "SvNul"). More...
 
void UserInterfaceLcdNormalTimeFactor (uint8_t ucbut)
 Write LCD display while setting time factor. More...
 
void UserInterfaceLcdNormalStartTime (menuSetTime_t ucbut)
 Write LCD display "NmSZt". More...
 
void UserInterfaceLcdNormalCurrentTime (menuSetTime_t ucbut)
 Write LCD display "NmAZt". More...
 
void UserInterfaceLcdNormalTargetTime (menuSetTime_t ucbut)
 Write LCD display "NmZZt". More...
 
void UserInterfaceLcdNormalStartTimeSet (uint8_t ucminute, uint8_t uchour)
 Write LCD display "NmSZt". More...
 
void UserInterfaceLcdNormalCurrentTimeSet (uint8_t ucminute, uint8_t uchour)
 Write LCD display "NmAZt". More...
 
void UserInterfaceLcdNormalTargetTimeSet (uint8_t ucminute, uint8_t uchour)
 Write LCD display "NmZZt". More...
 

Detailed Description

Subroutines for access to LCD for Normal.

Software:

  • AVR-GCC

Targets:

  • AtMega128 on PROTO_128
  • AtMega48/88/168

History:

  • 070408 First implementation (R 0)
  • 150427 StS: Refactoring, code cleanup, unified layout
Version
$Id: UserInterfaceLcdNormal.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
08-Apr-2007

Definition in file UserInterfaceLcdNormal.c.

Function Documentation

void UserInterfaceLcdNormalClock ( menuNormalClock_t  ucbut)

Write LCD display in Normal Mode ("NmUhr").

In the first line startTime, timeFactor and " NmUhr" are displayed. In the second line the currentTime and the menu selection are displayed.

HH:MM xx,x NmUhr
HH:MM      Start
Parameters
ucbutthe current menu selection.

Definition at line 80 of file UserInterfaceLcdNormal.c.

Here is the call graph for this function:

void UserInterfaceLcdNormalCurrentTime ( menuSetTime_t  ucbut)

Write LCD display "NmAZt".

Parameters
ucbutmode of sub menu ""Minte", "Stnde", "Zurck"

Definition at line 177 of file UserInterfaceLcdNormal.c.

Here is the call graph for this function:

void UserInterfaceLcdNormalCurrentTimeSet ( uint8_t  ucminute,
uint8_t  uchour 
)

Write LCD display "NmAZt".

Parameters
ucminuteminute of current time
uchourhour of current time

Definition at line 210 of file UserInterfaceLcdNormal.c.

Here is the call graph for this function:

void UserInterfaceLcdNormalQuick ( menuFastFwd_t  ucbut)

Write LCD display in Normal Mode ("NmSvr").

Parameters
ucbutmode sub menu: "SvSrt", "SvNul" or "Zurck"

Definition at line 99 of file UserInterfaceLcdNormal.c.

Here is the call graph for this function:

void UserInterfaceLcdNormalQuickClock ( menuFastFwd_t  ucbut,
menuNormalClock_t  ucbut1,
uint8_t  ucminute,
uint8_t  uchour 
)

Write LCD display in Normal Mode ("SvSrt" or "SvNul").

Parameters
ucbutmode sub menu: "SvSrt", "SvNul" or "Zurck"
ucbut1mode sub menu
ucminuteminute for left upper corner
uchourhour for left upper corner

Definition at line 126 of file UserInterfaceLcdNormal.c.

Here is the call graph for this function:

void UserInterfaceLcdNormalStartTime ( menuSetTime_t  ucbut)

Write LCD display "NmSZt".

Parameters
ucbutmode of sub menu ""Minte", "Stnde", "Zurck"

Definition at line 166 of file UserInterfaceLcdNormal.c.

Here is the call graph for this function:

void UserInterfaceLcdNormalStartTimeSet ( uint8_t  ucminute,
uint8_t  uchour 
)

Write LCD display "NmSZt".

Parameters
ucminuteminute of start time
uchourhour of start time

Definition at line 200 of file UserInterfaceLcdNormal.c.

Here is the call graph for this function:

static void UserInterfaceLcdNormalSwitch ( menuNormalClock_t  button)
static

Write LCD display sub menu: "Start", "Stop", "Zurck".

Parameters
buttonmode of submenu

Definition at line 231 of file UserInterfaceLcdNormal.c.

Here is the call graph for this function:

void UserInterfaceLcdNormalTargetTime ( menuSetTime_t  ucbut)

Write LCD display "NmZZt".

Parameters
ucbutmode of sub menu ""Minte", "Stnde", "Zurck"

Definition at line 188 of file UserInterfaceLcdNormal.c.

Here is the call graph for this function:

void UserInterfaceLcdNormalTargetTimeSet ( uint8_t  ucminute,
uint8_t  uchour 
)

Write LCD display "NmZZt".

Parameters
ucminuteminute of target time
uchourhour of target time

Definition at line 220 of file UserInterfaceLcdNormal.c.

Here is the call graph for this function:

static void UserInterfaceLcdNormalTime ( const char *  which,
menuSetTime_t  button,
uint8_t  hour,
uint8_t  minute 
)
static

Write LCD: TODO: more details.

Parameters
whichTODO
buttonmode of sub menu "Minte", "Stnde" or "Zurck"
hourhour to write in left upper corner
minuteminute to write in left upper corner

Definition at line 265 of file UserInterfaceLcdNormal.c.

Here is the call graph for this function:

void UserInterfaceLcdNormalTimeFactor ( uint8_t  ucbut)

Write LCD display while setting time factor.

Parameters
ucbutthe time factor to display

Definition at line 152 of file UserInterfaceLcdNormal.c.

Here is the call graph for this function:

static void UserInterfaceLcdNormalTimeSet ( const char *  which,
uint8_t  minute,
uint8_t  hour 
)
static

Write LCD: TODO: more details.

Parameters
whichTODO
minuteminute to write in left upper corner
hourhour to write in left upper corner

Definition at line 248 of file UserInterfaceLcdNormal.c.

Here is the call graph for this function: