SingingCat 0
application
sctime.h
1#ifndef SCTIME_H
2#define SCTIME_H
3typedef struct sctime {
4 uint8_t hour;
5 uint8_t minute;
6 uint8_t second;
7 uint8_t weekday; //[0=monday,6=sunday]
8 uint32_t timestamp; // timestamp (not epoch) in HHMMSSWW format)
9 uint8_t day;
10 uint8_t month;
11 uint32_t year;
12 uint8_t daytime; // 1==daytime,0==night
13 uint8_t pad;
14 uint32_t secs_since_last_sync; // how old is our time
15} _sctime;
16#endif
Definition: sctime.h:3