nn::applet::CTR::SetAwakeCallback Function
void SetAwakeCallback(
AppletAwakeCallback callback,
uptr arg = 0
);
| Name | Description | |
|---|---|---|
| in | callback | Callback. |
| in | arg | Callback arguments. |
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.
REPLY_REJECT.
CONFIDENTIAL