#include <nitro/spi.h>
void PM_SetSleepCallbackInfo(
PMSleepCallbackInfo* info,
PMSleepCallback callback,
void* arg );
| info | Pointer to set callback information structure. |
| callback | Callback function. |
| arg | Callback argument. |
None.
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.
PM_Init, PM_GoSleepMode, PM_AppendPreSleepCallback, PM_PrependPreSleepCallback, PM_AppendPostSleepCallback, PM_PrependPostSleepCallback
2005/09/14 PM_SetSleepCallback was changed to PM_SetSleepCallbackInfo.
2004/10/06 Initial version.
CONFIDENTIAL