PM_SetAutoExit

# PM_ReadyToExit

## Syntax

      #include <twl/spi.h>

      void PM_ReadyToExit( void );

## Arguments

None.

## Return Values

None. (This function does not return.)

## Description

After exit processing is complete, this function sends notification from the ARM9 to the ARM7 that exit preparations are complete.

In order to perform power-off or hardware reset, the application will use this function after ARM9 exit callback processing has finished to tell the ARM7 that the ARM9 is ready to exit. Normally, the ARM7 will be notified automatically when callback processing has finished and power-off or hardware reset will proceed. However, if the `PM_SetAutoExit` function has been used to disable automatic exit processing, the application will need to explicitly send a notification.

Call this function after calling the exit callbacks. Calling this at any other time causes processing to halt immediately without doing anything.

This function never returns, no matter what situation it is called in.

## See Also

`PM_SetAutoExit`

## Revision History

2008/02/08 Initial version.

CONFIDENTIAL