libctru  v1.6.0
Functions
ptmsysm.h File Reference

PTMSYSM service. More...

Go to the source code of this file.

Functions

Result ptmSysmInit (void)
 Initializes ptm:sysm.
 
void ptmSysmExit (void)
 Exits ptm:sysm.
 
Result PTMSYSM_CheckNew3DS (void)
 return 1 if it's a New 3DS otherwise, return 0 for Old 3DS.
 
Result PTMSYSM_ConfigureNew3DSCPU (u8 value)
 Configures the New 3DS' CPU clock speed and L2 cache. More...
 
Result PTMSYSM_ShutdownAsync (u64 timeout)
 Trigger a hardware system shutdown via the MCU. More...
 
Result PTMSYSM_RebootAsync (u64 timeout)
 Trigger a hardware system reboot via the MCU. More...
 

Detailed Description

PTMSYSM service.

Function Documentation

◆ PTMSYSM_ConfigureNew3DSCPU()

Result PTMSYSM_ConfigureNew3DSCPU ( u8  value)

Configures the New 3DS' CPU clock speed and L2 cache.

Parameters
valueBit0: enable higher clock, Bit1: enable L2 cache.

◆ PTMSYSM_RebootAsync()

Result PTMSYSM_RebootAsync ( u64  timeout)

Trigger a hardware system reboot via the MCU.

Parameters
timeouttimeout passed to PMApp:TerminateNonEssential.

◆ PTMSYSM_ShutdownAsync()

Result PTMSYSM_ShutdownAsync ( u64  timeout)

Trigger a hardware system shutdown via the MCU.

Parameters
timeouttimeout passed to PMApp:TerminateNonEssential.