source: rtems/doc/itron3.0/interrupt.t @ 090ab6eb

4.104.114.84.95
Last change on this file since 090ab6eb was 6449498, checked in by Joel Sherrill <joel.sherrill@…>, on 01/17/02 at 21:47:47

2001-01-17 Joel Sherrill <joel@…>

  • SUPPORT, LICENSE: New files.
  • Numerous files touched as part of merging the 4.5 branch onto the mainline development trunk and ensuring that the script that cuts snapshots and releases works on the documentation.
  • Property mode set to 100644
File size: 3.7 KB
Line 
1@c
2@c  COPYRIGHT (c) 1988-2002.
3@c  On-Line Applications Research Corporation (OAR).
4@c  All rights reserved.
5@c
6@c  This is the chapter from the RTEMS ITRON User's Guide that
7@c  documents the services provided by the interrupt
8@c  manager.
9@c
10@c  $Id$
11@c
12
13@chapter Interrupt Manager
14
15@section Introduction
16
17The
18interrupt manager is ...
19
20The services provided by the interrupt manager are:
21
22@itemize @bullet
23@item @code{def_int} - Define Interrupt Handler
24@item @code{ret_int} - Return from Interrupt Handler
25@item @code{ret_wup} - Return and Wakeup Task
26@item @code{loc_cpu} - Lock CPU
27@item @code{unl_cpu} - Unlock CPU
28@item @code{dis_int} - Disable Interrupt
29@item @code{ena_int} - Enable Interrupt
30@item @code{chg_iXX} - Change Interrupt Mask(Level or Priority)
31@item @code{ref_iXX} - Reference Interrupt Mask(Level or Priority)
32@end itemize
33
34@section Background
35
36@section Operations
37
38@section System Calls
39
40This section details the interrupt manager's services.
41A subsection is dedicated to each of this manager's services
42and describes the calling sequence, related constants, usage,
43and status codes.
44
45
46@c
47@c  def_int
48@c
49
50@page
51@subsection def_int - Define Interrupt Handler
52
53@subheading CALLING SEQUENCE:
54
55@ifset is-C
56@example
57ER def_int(
58  UINT dintno,
59  T_DINT *pk_dint
60);
61@end example
62@end ifset
63
64@ifset is-Ada
65@end ifset
66
67@subheading STATUS CODES:
68
69@code{EXXX} -
70
71@subheading DESCRIPTION:
72
73@subheading NOTES:
74
75
76@c
77@c  ret_int
78@c
79
80@page
81@subsection ret_int - Return from Interrupt Handler
82
83@subheading CALLING SEQUENCE:
84
85@ifset is-C
86@example
87void ret_int(
88
89);
90@end example
91@end ifset
92
93@ifset is-Ada
94@end ifset
95
96@subheading STATUS CODES:
97
98@code{EXXX} -
99
100@subheading DESCRIPTION:
101
102@subheading NOTES:
103
104
105@c
106@c  ret_wup
107@c
108
109@page
110@subsection ret_wup - Return and Wakeup Task
111
112@subheading CALLING SEQUENCE:
113
114@ifset is-C
115@example
116void ret_wup(
117  ID tskid
118);
119@end example
120@end ifset
121
122@ifset is-Ada
123@end ifset
124
125@subheading STATUS CODES:
126
127@code{EXXX} -
128
129@subheading DESCRIPTION:
130
131@subheading NOTES:
132
133
134@c
135@c  loc_cpu
136@c
137
138@page
139@subsection loc_cpu - Lock CPU
140
141@subheading CALLING SEQUENCE:
142
143@ifset is-C
144@example
145ER loc_cpu(
146
147);
148@end example
149@end ifset
150
151@ifset is-Ada
152@end ifset
153
154@subheading STATUS CODES:
155
156@code{EXXX} -
157
158@subheading DESCRIPTION:
159
160@subheading NOTES:
161
162
163@c
164@c  unl_cpu
165@c
166
167@page
168@subsection unl_cpu - Unlock CPU
169
170@subheading CALLING SEQUENCE:
171
172@ifset is-C
173@example
174ER unl_cpu(
175
176);
177@end example
178@end ifset
179
180@ifset is-Ada
181@end ifset
182
183@subheading STATUS CODES:
184
185@code{EXXX} -
186
187@subheading DESCRIPTION:
188
189@subheading NOTES:
190
191
192@c
193@c  dis_int
194@c
195
196@page
197@subsection dis_int - Disable Interrupt
198
199@subheading CALLING SEQUENCE:
200
201@ifset is-C
202@example
203ER dis_int(
204  UINT eintno
205);
206@end example
207@end ifset
208
209@ifset is-Ada
210@end ifset
211
212@subheading STATUS CODES:
213
214@code{EXXX} -
215
216@subheading DESCRIPTION:
217
218@subheading NOTES:
219
220
221@c
222@c  ena_int
223@c
224
225@page
226@subsection ena_int - Enable Interrupt
227
228@subheading CALLING SEQUENCE:
229
230@ifset is-C
231@example
232ER ena_int(
233  UINT eintno
234);
235@end example
236@end ifset
237
238@ifset is-Ada
239@end ifset
240
241@subheading STATUS CODES:
242
243@code{EXXX} -
244
245@subheading DESCRIPTION:
246
247@subheading NOTES:
248
249
250@c
251@c  chg_iXX
252@c
253
254@page
255@subsection chg_iXX - Change Interrupt Mask(Level or Priority)
256
257@subheading CALLING SEQUENCE:
258
259@ifset is-C
260@example
261ER chg_iXX(
262  UINT iXXXX
263);
264@end example
265@end ifset
266
267@ifset is-Ada
268@end ifset
269
270@subheading STATUS CODES:
271
272@code{EXXX} -
273
274@subheading DESCRIPTION:
275
276@subheading NOTES:
277
278
279@c
280@c  ref_iXX
281@c
282
283@page
284@subsection ref_iXX - Reference Interrupt Mask(Level or Priority)
285
286@subheading CALLING SEQUENCE:
287
288@ifset is-C
289@example
290ER ref_iXX(
291  UINT *p_iXXXX
292);
293@end example
294@end ifset
295
296@ifset is-Ada
297@end ifset
298
299@subheading STATUS CODES:
300
301@code{EXXX} -
302
303@subheading DESCRIPTION:
304
305@subheading NOTES:
306
Note: See TracBrowser for help on using the repository browser.