libnx
apm.h
Go to the documentation of this file.
1 /**
2  * @file apm.h
3  * @brief Performance management (apm) service IPC wrapper.
4  * @author yellows8
5  * @copyright libnx Authors
6  */
7 #pragma once
8 #include "../types.h"
9 
10 /// These are used internally by applet.
11 
12 Result apmInitialize(void);
13 void apmExit(void);
14 
15 Result apmSetPerformanceConfiguration(u32 PerformanceMode, u32 PerformanceConfiguration);
16 Result apmGetPerformanceConfiguration(u32 PerformanceMode, u32 *PerformanceConfiguration);
u32 Result
Function error code result type.
Definition: types.h:46
Result apmInitialize(void)
These are used internally by applet.
uint32_t u32
32-bit unsigned integer.
Definition: types.h:23