#include <twl/spi.h>
void PM_SetExitCallbackInfo(
PMExitCallbackInfo* info,
PMExitCallback callback,
void* arg );
typedef void (*PMGenCallback) (void *);
#define PMExitCallback PMGenCallback
info | Pointer to the callback information structure that will be set. |
callback | Callback function. |
arg | Callback argument. |
None.
Sets exit callback information.
Registers the callback function callback and its argument arg in the callback information structure specified with info. Afterwards, specify info to PM_AppendPreExitCallback
or a similar function to register the exit callback.
The only process this function performs internally is setting callback and arg in members of info.
2008/02/07 Initial version.
CONFIDENTIAL