PM_SetExitCallbackInfo

Syntax

#include <twl/spi.h>
void PM_SetExitCallbackInfo(
     PMExitCallbackInfo* info,
     PMExitCallback callback,
     void* arg );


typedef void (*PMGenCallback) (void *);
#define PMExitCallback PMGenCallback

Arguments

info Pointer to the callback information structure that will be set.
callback Callback function.
arg Callback argument.

Return Values

None.

Description

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.

See Also

PM_AppendPreExitCallback

Revision History

2008/02/07 Initial version.


CONFIDENTIAL