libnx  v4.7.0
Data Structures | Functions
clkrst.h File Reference

Clkrst service IPC wrapper. More...

#include "../types.h"
#include "../sf/service.h"
#include "../services/pcv.h"

Go to the source code of this file.

Data Structures

struct  ClkrstSession
 

Functions

Result clkrstInitialize (void)
 Initialize clkrst. Only available on [8.0.0+].
 
void clkrstExit (void)
 Exit clkrst.
 
ServiceclkrstGetServiceSession (void)
 Gets the Service object for the actual clkrst service session.
 
Result clkrstOpenSession (ClkrstSession *session_out, PcvModuleId module_id, u32 unk)
 Opens a ClkrstSession for the requested PcvModuleId, unk is set to 3 in official sysmodules.
 
void clkrstCloseSession (ClkrstSession *session)
 
Result clkrstSetClockRate (ClkrstSession *session, u32 hz)
 
Result clkrstGetClockRate (ClkrstSession *session, u32 *out_hz)
 
Result clkrstGetPossibleClockRates (ClkrstSession *session, u32 *rates, s32 max_count, PcvClockRatesListType *out_type, s32 *out_count)
 

Detailed Description

Clkrst service IPC wrapper.

Author
p-sam