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.1.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<TITLE>SVC_Sleep</TITLE> 8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">SVC_Sleep <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_Sleep( 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>Note: This function operates only on the ARM7 processor. It stops source oscillation.</P> 25<P>If the interrupt for any of RTC, key, card, cartridge, or device open are allowed (set to IE), oscillation is restored due to the generation of the corresponding interrupt request.</P> 26<P>Because the input from the system clock has been terminated, the IF flag is not set immediately following restore, but when there is also an interrupt request signal to the terminal, then the IF flag remains set until the CPU is rebooted.</P> 27<P>Call this function only after placing the ARM9 in a HALT state: stopping the wireless module and sound amps, terminating all locks, and clearing the POWCNT register to 0 for both processors.</P> 28<P>Be sure to lower the LCD enable flag of the <CODE>POWCNT</CODE> register to 0 within 100 ms of calling this function. Not doing so may cause the console to shut down.</P> 29<H2>See Also</H2> 30<P><A href="SVC_Halt.html"><CODE>SVC_Halt</CODE></A></P> 31<H2>Revision History</H2> 32<P> 332005/03/08 Standardized the Japanese term for "interrupt."<br> 2004/07/22 Initial version.</P> 34<hr><p>CONFIDENTIAL</p></body> 35</HTML>