# PM_PrependPreSleepCallback

## C Specification

      #include <nitro/spi.h>

      void PM_PrependPreSleepCallback( PMSleepCallbackInfo* info );

## Description

Registers callback when returning from sleep mode.
Registered at end of callback list.

This function allows you to register multiple callbacks. The callback is defined by the void type function that gets one `void*` type argument, as

    typedef void (*PMSleepCallback)( void* );

For details, see the `PM_AppendPreSleepCallback()` reference.

## Arguments

`info` | Pointer to structure that includes information of callback to add

## Return Values

None.

## See Also

`PM_Init`, `PM_GoSleepMode`, `PM_AppendPreSleepCallback`, `PM_AppendPostSleepCallback`, `PM_PrependPostSleepCallback`, `PM_DeletePreSleepCallback`, `PM_DeletePostSleepCallback`, `PM_SetSleepCallback`

## Revision History

10/06/2004 Initial version