fremoclock
1_3A01
FREMO Clock - Software for UTG
|
Subroutines for UserSettings. More...
Go to the source code of this file.
Functions | |
void | UserSettingsSetEepromStatus (uint8_t status) |
Write eeprom status to EEPROM. More... | |
void | UserSettingsSetSystemStatus (uint8_t status) |
Write system status to EEPROM. More... | |
uint8_t | UserSettingsGetEepromStatus (void) |
Read eeprom status from EEPROM. More... | |
uint8_t | UserSettingsGetSystemStatus (void) |
Read system status from EEPROM. More... | |
void | UserSettingsSaveClockValues (uint8_t factor, uint16_t pulse, uint8_t startMinute, uint8_t startHour, uint8_t endMinute, uint8_t endHour, uint8_t minute, uint8_t hour) |
Write factor, pulse width, startTime, endTime and current clock to EEPROM. More... | |
uint8_t | UserSettingsGetStartMinute (void) |
Read minute of startTime from EEPROM. More... | |
uint8_t | UserSettingsGetStartHour (void) |
Read hour of startTime from EEPROM. More... | |
uint8_t | UserSettingsGetEndMinute (void) |
Read minute of endTime from EEPROM. More... | |
uint8_t | UserSettingsGetEndHour (void) |
Read hour of endTime from EEPROM. More... | |
uint8_t | UserSettingsGetCurrentMinute (void) |
Read minute of current clock time from EEPROM. More... | |
uint8_t | UserSettingsGetCurrentHour (void) |
Read hour of current clock time from EEPROM. More... | |
uint8_t | UserSettingsGetFactor (void) |
Read factor from EEPROM. More... | |
uint16_t | UserSettingsGetPulse (void) |
Read pulse width from EEPROM. More... | |
Subroutines for UserSettings.
With:
Target:
Software
History:
Definition in file UserSettings.h.
uint8_t UserSettingsGetCurrentHour | ( | void | ) |
Read hour of current clock time from EEPROM.
Definition at line 157 of file UserSettings.c.
uint8_t UserSettingsGetCurrentMinute | ( | void | ) |
Read minute of current clock time from EEPROM.
Definition at line 151 of file UserSettings.c.
uint8_t UserSettingsGetEepromStatus | ( | void | ) |
uint8_t UserSettingsGetEndHour | ( | void | ) |
Read hour of endTime from EEPROM.
Definition at line 145 of file UserSettings.c.
uint8_t UserSettingsGetEndMinute | ( | void | ) |
Read minute of endTime from EEPROM.
Definition at line 139 of file UserSettings.c.
uint8_t UserSettingsGetFactor | ( | void | ) |
uint16_t UserSettingsGetPulse | ( | void | ) |
uint8_t UserSettingsGetStartHour | ( | void | ) |
uint8_t UserSettingsGetStartMinute | ( | void | ) |
Read minute of startTime from EEPROM.
Definition at line 127 of file UserSettings.c.
uint8_t UserSettingsGetSystemStatus | ( | void | ) |
void UserSettingsSaveClockValues | ( | uint8_t | factor, |
uint16_t | pulse, | ||
uint8_t | startMinute, | ||
uint8_t | startHour, | ||
uint8_t | endMinute, | ||
uint8_t | endHour, | ||
uint8_t | minute, | ||
uint8_t | hour | ||
) |
Write factor, pulse width, startTime, endTime and current clock to EEPROM.
factor | the factor to write |
pulse | the pulse width to write |
startMinute | minute of startTime |
startHour | hour of startTime |
endMinute | minute of endTime |
endHour | hour of endTime |
minute | minute of current clock time |
hour | hour of current clock time |
Definition at line 111 of file UserSettings.c.
void UserSettingsSetEepromStatus | ( | uint8_t | status | ) |
Write eeprom status to EEPROM.
status | new value for the status |
Definition at line 104 of file UserSettings.c.
void UserSettingsSetSystemStatus | ( | uint8_t | status | ) |
Write system status to EEPROM.
status | new value for the status |
Definition at line 98 of file UserSettings.c.