source: rtems/doc/itron3.0/time.t @ e968366

4.104.114.84.95
Last change on this file since e968366 was e968366, checked in by Joel Sherrill <joel.sherrill@…>, on 05/26/99 at 18:10:59

Prototypes are now based on how the TRON specification states them.
The style in the output is not right but it is a good starting point.

  • Property mode set to 100644
File size: 3.6 KB
Line 
1@c
2@c  This is the chapter from the RTEMS ITRON User's Guide that
3@c  documents the services provided by the time
4@c  manager.
5@c
6@c  $Id$
7@c
8
9@chapter Time Manager
10
11@section Introduction
12
13The
14time manager is ...
15
16The services provided by the time manager are:
17
18@itemize @bullet
19@item @code{get_tim} - Get System Clock
20@item @code{set_tim} - Set System Clock
21@item @code{dly_tsk} - Delay Task
22@item @code{def_cyc} - Define Cyclic Handler
23@item @code{act_cyc} - Activate Cyclic Handler
24@item @code{ref_cyc} - Reference Cyclic Handler Status
25@item @code{def_alm} - Define Alarm Handler
26@item @code{ref_alm} - Reference Alarm Handler Status
27@item @code{ret_tmr} - Return from Timer Handler
28@end itemize
29
30@section Background
31
32@section Operations
33
34@section System Calls
35
36This section details the time manager's services.
37A subsection is dedicated to each of this manager's services
38and describes the calling sequence, related constants, usage,
39and status codes.
40
41
42@c
43@c  get_tim
44@c
45
46@page
47@subsection get_tim - Get System Clock
48
49@subheading CALLING SEQUENCE:
50
51@ifset is-C
52@example
53ER get_tim (
54 SYSTIME *pk_tim
55);
56@end example
57@end ifset
58
59@ifset is-Ada
60@end ifset
61
62@subheading STATUS CODES:
63
64@code{EXXX} -
65
66@subheading DESCRIPTION:
67
68@subheading NOTES:
69
70
71@c
72@c  set_tim
73@c
74
75@page
76@subsection set_tim - Set System Clock
77
78@subheading CALLING SEQUENCE:
79
80@ifset is-C
81@example
82ER set_tim (
83 SYSTIME *pk_tim
84);
85@end example
86@end ifset
87
88@ifset is-Ada
89@end ifset
90
91@subheading STATUS CODES:
92
93@code{EXXX} -
94
95@subheading DESCRIPTION:
96
97@subheading NOTES:
98
99
100@c
101@c  dly_tsk
102@c
103
104@page
105@subsection dly_tsk - Delay Task
106
107@subheading CALLING SEQUENCE:
108
109@ifset is-C
110@example
111ER dly_tsk (
112 DLYTIME dlytim
113);
114@end example
115@end ifset
116
117@ifset is-Ada
118@end ifset
119
120@subheading STATUS CODES:
121
122@code{EXXX} -
123
124@subheading DESCRIPTION:
125
126@subheading NOTES:
127
128
129@c
130@c  def_cyc
131@c
132
133@page
134@subsection def_cyc - Define Cyclic Handler
135
136@subheading CALLING SEQUENCE:
137
138@ifset is-C
139@example
140ER def_cyc (
141 HNO cycno, T_DCYC *pk_dcyc
142);
143@end example
144@end ifset
145
146@ifset is-Ada
147@end ifset
148
149@subheading STATUS CODES:
150
151@code{EXXX} -
152
153@subheading DESCRIPTION:
154
155@subheading NOTES:
156
157
158@c
159@c  act_cyc
160@c
161
162@page
163@subsection act_cyc - Activate Cyclic Handler
164
165@subheading CALLING SEQUENCE:
166
167@ifset is-C
168@example
169ER act_cyc (
170 HNO cycno, UINT cycact
171);
172@end example
173@end ifset
174
175@ifset is-Ada
176@end ifset
177
178@subheading STATUS CODES:
179
180@code{EXXX} -
181
182@subheading DESCRIPTION:
183
184@subheading NOTES:
185
186
187@c
188@c  ref_cyc
189@c
190
191@page
192@subsection ref_cyc - Reference Cyclic Handler Status
193
194@subheading CALLING SEQUENCE:
195
196@ifset is-C
197@example
198ER ref_cyc (
199 T_RCYC *pk_rcyc, HNO cycno
200);
201@end example
202@end ifset
203
204@ifset is-Ada
205@end ifset
206
207@subheading STATUS CODES:
208
209@code{EXXX} -
210
211@subheading DESCRIPTION:
212
213@subheading NOTES:
214
215
216@c
217@c  def_alm
218@c
219
220@page
221@subsection def_alm - Define Alarm Handler
222
223@subheading CALLING SEQUENCE:
224
225@ifset is-C
226@example
227ER def_alm (
228 HNO almno, T_DALM *pk_dalm
229);
230@end example
231@end ifset
232
233@ifset is-Ada
234@end ifset
235
236@subheading STATUS CODES:
237
238@code{EXXX} -
239
240@subheading DESCRIPTION:
241
242@subheading NOTES:
243
244
245@c
246@c  ref_alm
247@c
248
249@page
250@subsection ref_alm - Reference Alarm Handler Status
251
252@subheading CALLING SEQUENCE:
253
254@ifset is-C
255@example
256ER ref_alm (
257 T_RALM *pk_ralm, HNO almno
258);
259@end example
260@end ifset
261
262@ifset is-Ada
263@end ifset
264
265@subheading STATUS CODES:
266
267@code{EXXX} -
268
269@subheading DESCRIPTION:
270
271@subheading NOTES:
272
273
274@c
275@c  ret_tmr
276@c
277
278@page
279@subsection ret_tmr - Return from Timer Handler
280
281@subheading CALLING SEQUENCE:
282
283@ifset is-C
284@example
285void ret_tmr (
286
287);
288@end example
289@end ifset
290
291@ifset is-Ada
292@end ifset
293
294@subheading STATUS CODES:
295
296@code{EXXX} -
297
298@subheading DESCRIPTION:
299
300@subheading NOTES:
301
Note: See TracBrowser for help on using the repository browser.