TOD Constants


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

Detailed Description

The following constants are related to the time of day and are independent of RTEMS.

Define Documentation

#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:

This constant represents the number of seconds in a day which does not include a leap second.

#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.


Generated on Sat Jul 19 18:16:30 2008 for RTEMSSuperCore by  doxygen 1.5.6