mirror of
https://github.com/devkitPro/wut.git
synced 2026-09-30 13:58:04 -05:00
Add energy saving header.
This commit is contained in:
39
include/coreinit/energysaver.h
Normal file
39
include/coreinit/energysaver.h
Normal file
@@ -0,0 +1,39 @@
|
||||
#pragma once
|
||||
#include <wut.h>
|
||||
|
||||
/**
|
||||
* \defgroup coreinit_energysaver Energy saver
|
||||
* \ingroup coreinit
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int32_t
|
||||
IMEnableDim(void);
|
||||
|
||||
int32_t
|
||||
IMDisableDim(void);
|
||||
|
||||
int32_t
|
||||
IMIsDimEnabled(int32_t * result);
|
||||
|
||||
int32_t
|
||||
IMEnableAPD(void);
|
||||
|
||||
int32_t
|
||||
IMDisableAPD(void);
|
||||
|
||||
int32_t
|
||||
IMIsAPDEnabled(int32_t * result);
|
||||
|
||||
int32_t
|
||||
IMIsAPDEnabledBySysSettings(int32_t * result);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
Reference in New Issue
Block a user