nn::applet::CTR::Enable Function

Syntax

void Enable(
     bool isSleepEnabled = true
);

Arguments

Name Description
in isSleepEnabled This option specifies whether sleep is enabled.

Return Values

None.

Description

Enables features specific to the applet library.

This function must be called. Calling this function enables the features provided by the applet library.

Directly after calling this function, call the applet::Initialize function to configure the various callbacks and enable them, and then call this function again.

The isSleepEnabled function specifies whether interrupts are permitted during sleep mode. When there is no specification, it is automatically configured to true.

When applications that do not call this function are run on the debugger, the following problems will occur outside of the CTR system operating environment.

The second problem, however, can be resolved by calling the nngxStartLcdDisplay function.

Revision History

2010/11/15
Initial version.

CONFIDENTIAL