Defines | |
| #define | TOD_SECONDS_PER_MINUTE (uint32_t)60 |
| #define | TOD_MINUTES_PER_HOUR (uint32_t)60 |
| #define | TOD_MONTHS_PER_YEAR (uint32_t)12 |
| #define | TOD_DAYS_PER_YEAR (uint32_t)365 |
| #define | TOD_HOURS_PER_DAY (uint32_t)24 |
| #define | TOD_SECONDS_PER_DAY |
| #define | TOD_SECONDS_PER_NON_LEAP_YEAR (365 * TOD_SECONDS_PER_DAY) |
| #define | TOD_MILLISECONDS_PER_SECOND (uint32_t)1000 |
| #define | TOD_MICROSECONDS_PER_SECOND (uint32_t)1000000 |
| #define | TOD_NANOSECONDS_PER_SECOND (uint32_t)1000000000 |
| #define | TOD_NANOSECONDS_PER_MICROSECOND (uint32_t)1000 |
| #define TOD_DAYS_PER_YEAR (uint32_t)365 |
This constant represents the number of days in a non-leap year.
| #define TOD_HOURS_PER_DAY (uint32_t)24 |
This constant represents the number of hours per day.
| #define TOD_MICROSECONDS_PER_SECOND (uint32_t)1000000 |
This constant represents the number of microseconds in a second.
| #define TOD_MILLISECONDS_PER_SECOND (uint32_t)1000 |
This constant represents the number of millisecond in a second.
| #define TOD_MINUTES_PER_HOUR (uint32_t)60 |
This constant represents the number of minutes per hour.
| #define TOD_MONTHS_PER_YEAR (uint32_t)12 |
This constant represents the number of months in a year.
| #define TOD_NANOSECONDS_PER_MICROSECOND (uint32_t)1000 |
This constant represents the number of nanoseconds in a mircosecond.
Referenced by _TOD_Get_timeval().
| #define TOD_NANOSECONDS_PER_SECOND (uint32_t)1000000000 |
This constant represents the number of nanoseconds in a second.
| #define TOD_SECONDS_PER_DAY |
Value:
(uint32_t) (TOD_SECONDS_PER_MINUTE * \ TOD_MINUTES_PER_HOUR * \ TOD_HOURS_PER_DAY)
| #define TOD_SECONDS_PER_MINUTE (uint32_t)60 |
This constant represents the number of seconds in a minute.
| #define TOD_SECONDS_PER_NON_LEAP_YEAR (365 * TOD_SECONDS_PER_DAY) |
This constant represents the number of seconds in a non-leap year.
1.5.6