# SVC_Sleep

## C Specification

      #include <nitro/os/common/systemCall.h>

      void SVC_Sleep( void );

## Arguments

None.

## Return Values

None.

## Description

Note:This function operates only on the ARM7 processor. Stops the original system clock.

When any of the following interrupts (RTC, Key, Card, Cartridge, Main Unit Open) are allowed (set on the IE), this function restores the original system clock using the corresponding interrupt request generation.
Because the input from the system clock has been terminated, the IF flag will not be set immediately following restore, but when there is also an interrupt request signal to the terminal, then the IF flag will remain set until the CPU is rebooted.
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.
Reset the LCD enable flag in the POWCNT register to 0 at 100 ms or greater before calling this function. Not doing so may cause the console to shut down.

## See Also

`SVC_Halt`

## Revision History

03/08/2005 Standardized the Japanese term for "interrupt"
07/22/2004 Initial version

CONFIDENTIAL