nn::applet::CTR::SetAwakeCallback Function

Syntax

void SetAwakeCallback(
     AppletAwakeCallback callback,
     uptr arg = 0
);

Arguments

Name Description
in callback Callback.
in arg Callback arguments.

Return Values

None.

Description

Sets a sleep recovery callback.

The application must call the nngxStartLcdDisplay function to restore the LCDs after it recovers from Sleep Mode.

This callback is called after recovering from sleep mode or after a transition to sleep mode has been canceled.

This is also called when REPLY_REJECT is given to a sleep query.

The application must call the nngxStartLcdDisplay function to restore the LCDs after recovering from sleep mode.

Revision History

2010/12/14
Noted that the callback is also invoked for REPLY_REJECT.
2010/11/10
Initial version.

CONFIDENTIAL