1 <!-- Copyright (C) 2003 Red Hat, Inc. -->
2 <!-- This material may be distributed only subject to the terms -->
3 <!-- and conditions set forth in the Open Publication License, v1.0 -->
4 <!-- or later (the latest version is presently available at -->
5 <!-- http://www.opencontent.org/openpub/). -->
6 <!-- Distribution of the work or derivative of the work in any -->
7 <!-- standard (paper) book form is prohibited unless prior -->
8 <!-- permission is obtained from the copyright holder. -->
12 >Interrupt management functions</TITLE
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
19 TITLE="eCos Reference Manual"
20 HREF="ecos-ref.html"><LINK
23 HREF="compat-uitron-microitron-api.html"><LINK
25 TITLE="Extended Synchronization and Communication Functions"
26 HREF="compat-uitron-extended-sync-comm-functions.html"><LINK
28 TITLE=" Memory pool Management Functions"
29 HREF="compat-uitron-memory-pool-mgmt-functions.html"></HEAD
40 SUMMARY="Header navigation table"
49 >eCos Reference Manual</TH
57 HREF="compat-uitron-extended-sync-comm-functions.html"
65 >Chapter 32. µITRON API</TD
71 HREF="compat-uitron-memory-pool-mgmt-functions.html"
85 NAME="COMPAT-UITRON-INTERRUPT-MANAGEMENT-FUNCTIONS">Interrupt management functions</H1
87 >These functions are fully supported in this release:</P
95 CLASS="PROGRAMLISTING"
110 CLASS="PROGRAMLISTING"
125 CLASS="PROGRAMLISTING"
140 CLASS="PROGRAMLISTING"
162 CLASS="PROGRAMLISTING"
184 CLASS="PROGRAMLISTING"
206 CLASS="PROGRAMLISTING"
228 CLASS="PROGRAMLISTING"
250 CLASS="PROGRAMLISTING"
279 CLASS="PROGRAMLISTING"
310 as macros, containing a “return” statement.</P
320 will only work when called from an ISR whose associated DSR is <TT
322 >cyg_uitron_dsr()</TT
324 as specified in include file <TT
326 ><cyg/compat/uitron/uit_ifnc.h></TT
328 which defines the <TT
334 >If you are writing interrupt handlers more in the
341 > style, with separate ISR and DSR routines both of
342 your own devising, do not use these special functions from a DSR: use plain
346 > style functions (with no ‘i’ prefix)
347 instead, and do not call any µITRON functions from the ISR at
350 >The following functions are not supported in this release: </P
358 CLASS="PROGRAMLISTING"
387 CLASS="PROGRAMLISTING"
410 CLASS="PROGRAMLISTING"
426 >These unsupported functions are all Level C (CPU dependent).
427 Equivalent functionality is available via other <SPAN
440 NAME="AEN13831">Error checking</H2
442 >The following conditions are only checked for, and only return
446 >CYGSEM_UITRON_BAD_PARAMS_RETURN_ERRORS</TT
458 : these must only be called in a
459 µITRON task context, else E_CTX.</P
467 : the interrupt number must be in range as specified by the platform
468 HAL in qustion, else E_PAR.</P
478 SUMMARY="Footer navigation table"
489 HREF="compat-uitron-extended-sync-comm-functions.html"
507 HREF="compat-uitron-memory-pool-mgmt-functions.html"
517 >Extended Synchronization and Communication Functions</TD
523 HREF="compat-uitron-microitron-api.html"
531 >Memory pool Management Functions</TD