93 bool endTimeReached =
false;
118 endTimeReached =
true;
152 endTimeReached =
false;
300 if ((clock.
hour == uchour) && (clock.
minute == ucminute))
363 uctime = clkTemp.
hour;
423 ucbut2 = clkTemp.
hour;
455 clkTemp.
hour = ucbut2;
uint8_t ClockIsRunning(void)
Value used as parameter to ClockSetStatus() to start clock.
void UserInterfaceLcdNormalStartTimeSet(uint8_t ucminute, uint8_t uchour)
Write LCD display "NmSZt".
A struct with hour and minute.
void ClockSetTime(fclock_t newValue)
Set actual time.
void UserInterfaceLcdNormalCurrentTimeSet(uint8_t ucminute, uint8_t uchour)
Write LCD display "NmAZt".
uint8_t ClockReadTimeFactor(void)
Get time factor.
void ClockSetStatus(uint8_t ucStatus)
Set status of pulse generator.
Subroutines for acess to LCD for Normal.
uint8_t ClockReadEndTimeMinute(void)
Get the minute of the end time.
void ClockSetStartTimeMinute(uint8_t ucMinute)
Set the minute of the start time.
#define CLOCK_TIME_FACTOR_MIN
minimum *10 (10 = 1:1,0)
void UserInterfaceLcdNormalQuick(menuFastFwd_t ucbut)
Write LCD display in Normal Mode ("NmSvr").
void lcd_clear(void)
Clear and home the LCD.
void ClockSetStartTimeHour(uint8_t ucHour)
Set the hour of the start time.
void UserInterfaceLcdNormalTargetTime(menuSetTime_t ucbut)
Write LCD display "NmZZt".
void UserInterfaceLcdNormalCurrentTime(menuSetTime_t ucbut)
Write LCD display "NmAZt".
void UserInterfaceLcdNormalTimeFactor(uint8_t ucbut)
Write LCD display while setting time factor.
uint8_t minute
minute value 0..59
void ClockSetEndTimeHour(uint8_t ucHour)
Set the hour of the end time.
void ClockSetEndTimeMinute(uint8_t ucMinute)
Set the minute of the end time.
void UserInterfaceLcdNormalStartTime(menuSetTime_t ucbut)
Write LCD display "NmSZt".
#define CLOCK_TIME_FACTOR_MAX
maximum *10 (119 = 1:11.9)
void ClockSetPeriod(uint16_t uiPeriod)
Set length of model minute in 100ms.
void UserInterfaceLcdNormalTargetTimeSet(uint8_t ucminute, uint8_t uchour)
Write LCD display "NmZZt".
uint8_t ClockReadEndTimeHour(void)
Get the hour of the end time.
uint8_t hour
hour value 0..23
void ClockSetTimeFactor(uint8_t ucFactor)
Set time factor.
LCD interface header file.
void UserInterfaceLcdNormalQuickClock(menuFastFwd_t ucbut, menuNormalClock_t ucbut1, uint8_t ucminute, uint8_t uchour)
Write LCD display in Normal Mode ("SvSrt" or "SvNul").
void UserInterfaceLcdNormalClock(menuNormalClock_t ucbut)
Write LCD display in Normal Mode ("NmUhr").
#define CLOCK_MIDNIGHT
"00:00" alias "24:00"
uint16_t ClockReadPeriod(void)
Get length of model minute in 100ms.
uint8_t ClockReadStartTimeHour(void)
Get the hour of the start time.
uint8_t ClockReadStartTimeMinute(void)
Get the minute of the start time.
User function called by timer ISR.
fclock_t ClockGetTime(void)
Get actual time.