PM_Delete[Pre|Post]SleepCallback

Syntax

#include <nitro/spi.h>
void PM_DeletePreSleepCallback( PMSleepCallbackInfo* info );
void PM_DeletePostSleepCallback( PMSleepCallbackInfo* info );

Arguments

info Pointer to structure that includes the information for the callback to remove.

Return Values

None.

Description

Removes a sleep mode callback.

Removes a callback invoked immediately before entering sleep mode or a callback invoked after recovering from sleep mode from the appropriate list. The info pointer indicates the PMSleepCallbackInfo structure holding the callback information.

The PM_DeletePreSleepCallback function removes callbacks from the pre-sleep callback list.

The PM_DeletePostExitCallback function removes callbacks from the post-sleep callback list.

Does nothing if the specified callback does not exist in the list.

See Also

PM_Init
PM_GoSleepMode
PM_AppendPreSleepCallback
PM_AppendPostSleepCallback
PM_PrependPreSleepCallback
PM_PrependPostSleepCallback
PM_InsertPreSleepCallback
PM_InsertPostSleepCallback

Revision History

2008/06/11 Corrected See Also section.
2004/10/06 Initial version.


CONFIDENTIAL