RTEMS CPU Kit with SuperCore
4.11.3
Main Page
Related Pages
Modules
+
Data Structures
Data Structures
+
Data Fields
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
q
r
s
t
u
v
w
+
Variables
_
b
c
d
i
r
+
Typedefs
a
b
c
d
f
h
i
m
o
p
q
r
s
t
u
w
x
+
Enumerations
b
c
d
e
h
i
m
o
p
r
s
t
w
+
Enumerator
c
i
m
p
r
s
t
w
+
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
w
mnt
data0
chrisj
rtems
releases
rtems-release.git
4.11.3
ws-rtems
rtems-4.11.3
cpukit
libcsupport
include
rtems
tod.h
Go to the documentation of this file.
1
9
/*
10
*
11
* Based on MVME162 TOD by:
12
* COPYRIGHT (C) 1997
13
* by Katsutoshi Shibuya - BU Denken Co.,Ltd. - Sapporo - JAPAN
14
* ALL RIGHTS RESERVED
15
*
16
* The license and distribution terms for this file may be
17
* found in the file LICENSE in this distribution or at
18
* http://www.rtems.org/license/LICENSE.
19
*/
20
21
#ifndef TOD_H
22
#define TOD_H
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
35
int
setRealTime(
36
const
rtems_time_of_day
*tod
37
);
38
39
/*
40
* Get the time from the RTC.
41
*/
42
43
void
getRealTime(
44
rtems_time_of_day
*tod
45
);
46
47
/*
48
* Read real time from RTC and set it to RTEMS' clock manager
49
*/
50
51
void
setRealTimeToRTEMS(
void
);
52
53
/*
54
* Read time from RTEMS' clock manager and set it to RTC
55
*/
56
57
void
setRealTimeFromRTEMS(
void
);
58
59
/*
60
* Return the difference between RTC and RTEMS' clock manager time in minutes.
61
* If the difference is greater than 1 day, this returns 9999.
62
*/
63
64
int
checkRealTime(
void
);
65
66
#ifdef __cplusplus
67
}
68
#endif
69
70
#endif
rtems_time_of_day
Data structure to manage and manipulate calendar time.
Definition:
types.h:133
Generated by
1.8.13