wut/include/coreinit/energysaver.h

66 lines
822 B
C
Raw Normal View History

2018-06-17 19:31:46 +02:00
#pragma once
#include <wut.h>
/**
* \defgroup coreinit_energysaver Energy saver
* \ingroup coreinit
* @{
*/
#ifdef __cplusplus
extern "C" {
#endif
2018-06-17 22:02:35 +02:00
typedef int32_t IMError;
2018-06-17 19:31:46 +02:00
2018-06-17 22:02:35 +02:00
IMError
IMDisableAPD();
2018-06-17 19:31:46 +02:00
2018-06-17 22:02:35 +02:00
IMError
IMDisableDim();
2018-06-17 19:31:46 +02:00
2018-06-17 22:02:35 +02:00
IMError
IMEnableAPD();
2018-06-17 19:31:46 +02:00
2018-06-17 22:02:35 +02:00
IMError
IMEnableDim();
2018-06-17 19:31:46 +02:00
2018-06-17 22:02:35 +02:00
IMError
IMIsAPDEnabled(uint32_t *outValue);
2018-06-17 19:31:46 +02:00
2018-06-17 22:02:35 +02:00
IMError
IMIsAPDEnabledBySysSettings(uint32_t *outValue);
IMError
IMIsDimEnabled(uint32_t *outValue);
IMError
IMGetDimEnableDrc(uint32_t *outValue);
IMError
IMGetDimEnableTv(uint32_t *outValue);
IMError
IMGetDimPeriod(uint32_t *outValue);
IMError
IMGetTimeBeforeAPD(uint32_t *outSeconds);
IMError
IMGetTimeBeforeDimming(uint32_t *outSeconds);
IMError
IMSetDimEnableDrc(BOOL value);
IMError
IMSetDimEnableTv(BOOL value);
IMError
IMStartAPDVideoMode();
2018-06-17 19:31:46 +02:00
#ifdef __cplusplus
}
#endif
/** @} */