# SVC_Halt

## C Specification

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

      void SVC_Halt( void );

## Arguments

None.

## Return Values

None.

## Description

This function stops the CPU core and goes into a halt state.

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 `OS_DisableInterrupts()` is called.

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 `OS_DisableIrq()` is called.

## See Also

`SVC_Sleep, OS_Halt`

## Revision History

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

CONFIDENTIAL