PM_SetSleepCallbackInfo

Syntax

#include <nitro/spi.h>
void PM_SetSleepCallbackInfo(
     PMSleepCallbackInfo* info,
     PMSleepCallback callback,
     void* arg );

Arguments

info Pointer to set callback information structure.
callback Callback function.
arg Callback argument.

Return Values

None.

Description

Sets sleep mode callback information.

Registers the callback function callback and its argument arg in callback information structure specified with info. Specifying this info performs sleep mode callback registration.

Only the following processes are performed internally: set callback and arg in info member.

See Also

PM_Init, PM_GoSleepMode, PM_AppendPreSleepCallback, PM_PrependPreSleepCallback, PM_AppendPostSleepCallback, PM_PrependPostSleepCallback

Revision History

2005/09/14 PM_SetSleepCallback was changed to PM_SetSleepCallbackInfo.
2004/10/06 Initial version.


CONFIDENTIAL