Fix folder structure

This commit is contained in:
2016-03-30 22:54:22 +02:00
parent d9ea077403
commit 022662757d
10 changed files with 0 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#ifndef _RTC_H_
#define _RTC_H_
#include <time.h> // for tm-struct
tm gmt;
int synced;
extern void GetDateString(char*);
extern void GetDateTimeString(char*);
extern void GetTimeString(char*);
extern tm* GetTimeStruct(void);
extern int SyncTime( void );
extern int GetTimeSynced( void );
extern int GetTimeZoneValue(int);
extern void GetTimeZoneName(int, char *);
/* Prototypes */
extern int X12Init(void);
extern int X12RtcGetClock(tm *tm);
extern int X12RtcSetClock(CONST tm *tm);
extern int X12RtcSyncClock(void);
extern int X12RtcWrite(int nv, CONST u_char *buff, size_t len);
/* End of prototypes */
#endif