source: rtems/doc/itron3.0/interrupt.t @ eb91a4b

4.104.114.84.95
Last change on this file since eb91a4b was eb91a4b, checked in by Joel Sherrill <joel.sherrill@…>, on 06/04/99 at 13:37:43

Significantly cleaned up to make a much better starting point for the
class.

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