SVC_Sleep

Syntax

#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. It stops source oscillation.

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.

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.

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.

Be sure to lower the LCD enable flag of the POWCNT register to 0 within 100 ms of calling this function. Not doing so may cause the console to shut down.

See Also

SVC_Halt

Revision History

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


CONFIDENTIAL