fremoclock  1_3A01
FREMO Clock - Software for UTG
UserInterfaceCommonData.h
Go to the documentation of this file.
1 
26 #ifndef USERINTERFACECOMMONDATA_H_
27 #define USERINTERFACECOMMONDATA_H_
28 
29 #include <stdint.h> // typedef uint8_t
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 /* -- Defines --------------------------------------------------------------- */
36 
37 // system status bits (see UserInterfaceCommonDataInit(), ucSystemStatus,
38 // ucinitresult, ucstatus, eucSystemStatus)
39 #define SYSTEM_STATUS_DIRTY 0
40 #define SYSTEM_STATUS_GOT_DIRTY 1
41 #define SYSTEM_STATUS_EEPROM_ERASED 2
42 //#define SYSTEM_STATUS_XX3 3
43 //#define SYSTEM_STATUS_XX4 4
44 //#define SYSTEM_STATUS_XX5 5
45 #define SYSTEM_STATUS_ENDTIME 6
46 //#define SYSTEM_STATUS_XX7 7
47 
48 /* -- FunctionPrototypes ---------------------------------------------------- */
49 
50 // for comment see UserInterfaceCommonData.c
51 uint8_t UserInterfaceCommonDataInit(void);
52 
53 // for comment see UserInterfaceCommonData.c
55 
56 #ifdef __cplusplus
57 }
58 #endif
59 
60 #endif /* USERINTERFACECOMMONDATA_H_ */
uint8_t UserInterfaceCommonDataInit(void)
Read data from EEPROM and initialize common data.
void UserInterfaceCommonDataShutDown(void)
Write common data to EEPROM.