avr-libc
2.0.0
Standard C library for AVR-GCC
|
|
Go to the documentation of this file.
161 typedef unsigned long clock_t;
162 extern char *_CLOCKS_PER_SEC_;
163 #define CLOCKS_PER_SEC ((clock_t) _CLOCKS_PER_SEC_)
164 extern clock_t clock(
void);
216 char *
asctime(
const struct tm * timeptr);
221 void asctime_r(
const struct tm * timeptr,
char *buf);
251 size_t strftime(
char *s,
size_t maxsize,
const char *format,
const struct tm * timeptr);
404 #define ONE_HOUR 3600
407 #define ONE_DEGREE 3600
410 #define ONE_DAY 86400
422 #define UNIX_OFFSET 946684800
434 #define NTP_OFFSET 3155673600
int8_t tm_min
Definition: time.h:146
int32_t daylight_seconds(const time_t *timer)
Definition: daylight_seconds.c:43
double solar_declination(const time_t *timer)
Definition: solar_declination.c:50
struct tm * localtime(const time_t *timer)
Definition: localtime.c:40
void localtime_r(const time_t *timer, struct tm *timeptr)
Definition: localtime_r.c:43
unsigned long gm_sidereal(const time_t *timer)
Definition: gm_sidereal.c:49
void set_dst(int(*)(const time_t *, int32_t *))
Definition: set_dst.c:41
void isotime_r(const struct tm *, char *)
Definition: isotime_r.c:41
void gmtime_r(const time_t *timer, struct tm *timeptr)
Definition: gmtime_r.c:38
signed char int8_t
Definition: stdint.h:78
signed long int int32_t
Definition: stdint.h:98
signed int int16_t
Definition: stdint.h:88
time_t mktime(struct tm *timeptr)
Definition: mktime.c:43
int16_t tm_isdst
Definition: time.h:153
void iso_week_date_r(int year, int yday, struct week_date *)
Definition: iso_week_date_r.c:49
unsigned long int uint32_t
Definition: stdint.h:103
time_t sun_rise(const time_t *timer)
Definition: sun_rise.c:38
int8_t tm_mon
Definition: time.h:150
unsigned long lm_sidereal(const time_t *timer)
Definition: lm_sidereal.c:39
int week
Definition: time.h:382
int16_t equation_of_time(const time_t *timer)
Definition: equation_of_time.c:54
char * isotime(const struct tm *tmptr)
Definition: isotime.c:40
uint8_t week_of_month(const struct tm *timeptr, uint8_t start)
Definition: week_of_month.c:42
int16_t tm_year
Definition: time.h:151
struct tm * gmtime(const time_t *timer)
Definition: gmtime.c:41
int8_t tm_sec
Definition: time.h:145
char * asctime(const struct tm *timeptr)
Definition: asctime.c:40
int day
Definition: time.h:383
uint32_t fatfs_time(const struct tm *timeptr)
unsigned char uint8_t
Definition: stdint.h:83
int32_t difftime(time_t time1, time_t time0)
Definition: difftime.c:38
int8_t tm_wday
Definition: time.h:149
uint8_t is_leap_year(int16_t year)
int8_t tm_hour
Definition: time.h:147
time_t solar_noon(const time_t *timer)
Definition: solar_noon.c:40
int16_t tm_yday
Definition: time.h:152
struct week_date * iso_week_date(int year, int yday)
Definition: iso_week_date.c:44
void ctime_r(const time_t *timer, char *buf)
Definition: ctime_r.c:37
_MONTHS_
Definition: time.h:339
time_t mk_gmtime(const struct tm *timeptr)
Definition: mk_gmtime.c:40
uint8_t week_of_year(const struct tm *timeptr, uint8_t start)
Definition: week_of_year.c:42
size_t strftime(char *s, size_t maxsize, const char *format, const struct tm *timeptr)
Definition: strftime.c:87
uint8_t month_length(int16_t year, uint8_t month)
_WEEK_DAYS_
Definition: time.h:326
void asctime_r(const struct tm *timeptr, char *buf)
Definition: asctime_r.c:49
time_t time(time_t *timer)
Definition: time.c:41
uint32_t time_t
Definition: time.h:116
char * ctime(const time_t *timer)
Definition: ctime.c:40
time_t sun_set(const time_t *timer)
Definition: sun_set.c:38
int8_t tm_mday
Definition: time.h:148
int8_t moon_phase(const time_t *timer)
Definition: moon_phase.c:40
void set_position(int32_t latitude, int32_t longitude)
void set_system_time(time_t timestamp)
Definition: set_system_time.c:42
int year
Definition: time.h:381