1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<TITLE>SVC_Halt</TITLE> 8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">SVC_Halt <IMG src="../image/NTR.gif" align="middle"><IMG src="../image/TWL.gif" align="middle"></H1> 12<H2>Syntax</H2> 13<DL> 14 <DD> 15 <PRE><CODE>#include <nitro/os/common/systemCall.h></CODE></PRE> 16 <PRE><CODE>void SVC_Halt( void ); </CODE></PRE> 17</DL> 18<H2>Arguments</H2> 19<P>None.</P> 20<H2>Return Values</H2> 21<P>None.</P> 22<H2>Description</H2> 23 24<P>This function stops the CPU core and goes into a halt state.</P> 25<P>This function restores to the interrupt request (set to IF) when the corresponding interrupt request (set to IE)is allowed. This function restores from a halt when the CPSR IRQ disable flag has been set, but no interrupt is generated. This is the state that results when <A href="../os/system/OS_DisableInterrupts.html"><CODE>OS_DisableInterrupts()</CODE></A> is called.</P> 26<P>Restoration will not be possible if the program enters a halt state after the IME has been cleared. This is the state that results when <code><A href="../os/irq/OS_DisableIrq.html">OS_DisableIrq()</A></code> is called.</P> 27<H2>See Also</H2> 28<P><code><a href="SVC_Sleep.html">SVC_Sleep</a>, <a href="../os/system/OS_Halt.html">OS_Halt</a></code></P> 29<H2>Revision History</H2> 30<P> 312005/03/08 Standardized the Japanese term for "interrupt."<br> 2004/07/22 Initial version.</P> 32<hr><p>CONFIDENTIAL</p></body> 33</HTML>