RTEMS  5.1
Macros | Functions | Variables
clocktodtoseconds.c File Reference

TOD to Seconds. More...

#include <rtems/rtems/clock.h>
#include <rtems/score/todimpl.h>

Macros

#define TOD_SECONDS_AT_2100_03_01_00_00   4107538800UL
 

Functions

Watchdog_Interval _TOD_To_seconds (const rtems_time_of_day *the_tod)
 TOD to Seconds. More...
 

Variables

const uint16_t _TOD_Days_to_date [2][13]
 
const uint16_t _TOD_Days_since_last_leap_year [4] = { 0, 366, 731, 1096 }
 

Detailed Description

TOD to Seconds.

Variable Documentation

◆ _TOD_Days_to_date

const uint16_t _TOD_Days_to_date[2][13]
Initial value:
= {
{ 0, 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 },
{ 0, 0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335 }
}