mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
ddcbd10a03
* added a general RTC header * added RTC support to chronos
16 lines
502 B
C
16 lines
502 B
C
#ifndef MSPGCC_TIME_H
|
|
#define MSPGCC_TIME_H
|
|
|
|
struct tm
|
|
{
|
|
int tm_sec; // Seconds after the minute [0, 59]
|
|
int tm_min; // Minutes after the hour [0, 59]
|
|
int tm_hour; // Hours since midnight [0, 23]
|
|
int tm_mday; // Day of the month [1, 31]
|
|
int tm_mon; // Months since January [0, 11]
|
|
int tm_year; // Years since 1900
|
|
int tm_wday; // Days since Sunday [0, 6]
|
|
};
|
|
|
|
#endif
|