![]() |
vitasdk
Documentation of the vitasdk
|
#include <psp2kern/types.h>Go to the source code of this file.
Enumerations | |
| enum | SceOledErrorCode { SCE_OLED_ERROR_INVALID_ARGUMENT = 0x803F0A02 , SCE_OLED_ERROR_INITIALIZATION_FAILED = 0x803F0A03 , SCE_OLED_ERROR_NOT_READY = 0x803F0A04 , SCE_OLED_ERROR_INVALID_STATE = 0x803F0A05 } |
| OLED driver error codes observed on FW 3.60. More... | |
| enum | SceOledColorSpaceMode { SCE_OLED_COLOR_SPACE_MODE_0 = 0 , SCE_OLED_COLOR_SPACE_MODE_1 = 1 } |
| OLED color-space modes. More... | |
Functions | |
| VITASDK_BUILD_ASSERT_EQ (4, SceOledErrorCode) | |
| VITASDK_BUILD_ASSERT_EQ (1, SceOledColorSpaceMode) | |
| int | ksceOledDisplayOff (void) |
| Queue the OLED display-off sequence. | |
| int | ksceOledDisplayOn (void) |
| Queue the OLED display-on sequence. | |
| SceUInt32 | ksceOledGetBrightness (void) |
| Get the exact wide-brightness value most recently accepted by the driver. | |
| int | ksceOledGetDDB (SceUInt16 *supplier_id, SceUInt16 *supplier_elective_data) |
| Get the Device Descriptor Block values cached during OLED initialization. | |
| SceOledColorSpaceMode | ksceOledGetDisplayColorSpaceMode (void) |
| Get the cached OLED color-space mode. | |
| int | ksceOledSetBrightness (SceUInt32 brightness) |
| Set the wide OLED brightness. | |
| int | ksceOledSetDisplayColorSpaceMode (SceOledColorSpaceMode mode) |
| Set the OLED color-space mode. | |
| int | ksceOledWaitReady (void) |
| Wait until the asynchronous OLED initialization attempt has completed. | |