DataStructures
struct tm
struct week_dateMacros
#define ONE_HOUR 3600
#define ONE_DEGREE 3600
#define ONE_DAY 86400
#define UNIX_OFFSET 946684800
#define NTP_OFFSET 3155673600
Typedefs
typedef uint32_ttime_tEnumerations
enum _WEEK_DAYS_ { SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY }
enum _MONTHS_ { JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER,
DECEMBER }
Functionstime_ttime (time_t *timer)
int32_tdifftime (time_t time1, time_t time0)
time_tmktime (struct tm *timeptr)
time_tmk_gmtime (const struct tm *timeptr)
struct tm * gmtime (const time_t *timer)
void gmtime_r (const time_t *timer, struct tm *timeptr)
struct tm * localtime (const time_t *timer)
void localtime_r (const time_t *timer, struct tm *timeptr)
char * asctime (const struct tm *timeptr)
void asctime_r (const struct tm *timeptr, char *buf)
char * ctime (const time_t *timer)
void ctime_r (const time_t *timer, char *buf)
char * isotime (const struct tm *tmptr)
void isotime_r (const struct tm *, char *)
size_t strftime (char *s, size_t maxsize, const char *format, const struct tm *timeptr)
void set_dst (int(*)(const time_t *, int32_t *))
void set_zone (int32_t)
void set_system_time (time_t timestamp)
void system_tick (void)
uint8_tis_leap_year (int16_t year)
uint8_tmonth_length (int16_t year, uint8_t month)
uint8_tweek_of_year (const struct tm *timeptr, uint8_t start)
uint8_tweek_of_month (const struct tm *timeptr, uint8_t start)
struct week_date * iso_week_date (int year, int yday)
void iso_week_date_r (int year, int yday, struct week_date *)
uint32_tfatfs_time (const struct tm *timeptr)
void set_position (int32_t latitude, int32_t longitude)
int16_tequation_of_time (const time_t *timer)
int32_tdaylight_seconds (const time_t *timer)
time_tsolar_noon (const time_t *timer)
time_tsun_rise (const time_t *timer)
time_tsun_set (const time_t *timer)
float solar_declinationf (const time_t *timer)
double solar_declination (const time_t *timer)
long double solar_declinationl (const time_t *timer)
int8_tmoon_phase (const time_t *timer)
unsigned long gm_sidereal (const time_t *timer)
unsigned long lm_sidereal (const time_t *timer)