RTEMS
Macros | Functions | Variables
clocktodtoseconds.c File Reference

TOD to Seconds. More...

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

Go to the source code of this file.

Macros

#define TOD_SECONDS_AT_2100_03_01_00_00   4107538800UL
 

Functions

Watchdog_Interval _TOD_To_seconds (const rtems_time_of_day *the_tod)
 % 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.

Definition in file clocktodtoseconds.c.

Function Documentation

◆ _TOD_To_seconds()

Watchdog_Interval _TOD_To_seconds ( const rtems_time_of_day the_tod)

%

Parameters
the_tod%

Definition at line 45 of file clocktodtoseconds.c.

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 }
}

Definition at line 31 of file clocktodtoseconds.c.