h6. [[RTSupport]] h6(. » [[RTSupport SWI Calls|SWI Calls]] h6((. » RT_ReadInfo h2. RT_ReadInfo h5. (SWI &575C5) Read status information |_<^{width:4em}. Entry | | | R0 | reason code | |_<^{width:4em}. Exit | | | R0 | value | |/2^. - | All other registers are preserved | | V flag is set if the reason code was not recognised | Interrupts * Interrupt state is unchanged * Fast interrupts are enabled Processor Mode * Processor is in SVC mode Re-entrancy * SWI is re-entrant h4. Use This SWI enables you to read current state variables. Reason codes currently defined are: |_<^{width:4em}. Reason |_<^. Meaning | |/3^. 0 | RTSupport handle for current routine, or | | 0 if in foreground, or | | -1 if in interrupt context | | 1 | Priority setting (integer value) of current routine, or -1 if in interrupt context | | 2 | Base address of SVC stack for real-time routines | h4. See also * [[RT_Register]]