# OS_Halt

## C Specification

  `#include <nitro/os.h>`
  `void OS_Halt( void );`

## Description

This function sets the CPU to the `HALT` state.

If there is an interrupt to return from the `HALT` state, a return from the function occurs.

## Internal Operation

`HALT` status comes about due to access to the CP15 register 7 of the system control coprocessor 15 with `ARM9`, and to a call of the system call with `ARM7`.

## Arguments

None

## Return Values

None

## See Also

`OS_Panic`, `OS_Terminate`

## Revision History

04/22/2004 Added Internal Operation
04/05/2004 Added description of returning from `HALT` state due to an interrupt
02/17/2004 Initial Version