# PM_GetAutoExit

## Syntax

      #include <twl/spi.h>

      BOOL PM_GetAutoExit( void );

## Arguments

None.

## Return Values

Settings for automatic termination result when `TRUE`.
For `FALSE`, termination is held off until the user calls the `PM_ReadyToExit` function.

## Description

Gets the setting value for whether to proceed automatically to hardware reset or power off after exit processing has finished.

Gets how the user set the system using the `PM_SetAutoExit` function. For more information, see the `PM_SetAutoExit` function.

## See Also

`PM_SetAutoExit`
`PM_ReadyToExit`

## Revision History

2009/06/03 Removed a description of the `PM_Init` function (because `OS_Init` is now required).
2008/10/23 Initial version.

CONFIDENTIAL