vitasdk
Documentation of the vitasdk
lcd.h File Reference
#include <psp2kern/types.h>

Go to the source code of this file.

Enumerations

enum  SceLcdErrorCode { SCE_LCD_ERROR_INVALID_ARGUMENT = 0x803F0C02 , SCE_LCD_ERROR_INITIALIZATION_FAILED = 0x803F0C03 , SCE_LCD_ERROR_NOT_READY = 0x803F0C04 , SCE_LCD_ERROR_INVALID_STATE = 0x803F0C05 }
 LCD driver error codes observed on FW 3.60. More...
 
enum  SceLcdColorSpaceMode { SCE_LCD_COLOR_SPACE_MODE_0 = 0 , SCE_LCD_COLOR_SPACE_MODE_1 = 1 }
 LCD color-space modes. More...
 

Functions

 VITASDK_BUILD_ASSERT_EQ (4, SceLcdErrorCode)
 
 VITASDK_BUILD_ASSERT_EQ (1, SceLcdColorSpaceMode)
 
int ksceLcdDisplayOff (void)
 Queue the LCD display-off sequence.
 
int ksceLcdDisplayOn (void)
 Queue the LCD display-on sequence.
 
SceUInt32 ksceLcdGetBrightness (void)
 Get the exact wide-brightness value most recently accepted by the driver.
 
int ksceLcdGetDDB (SceUInt16 *supplier_id, SceUInt16 *supplier_elective_data)
 Get the Device Descriptor Block values cached during LCD initialization.
 
SceLcdColorSpaceMode ksceLcdGetDisplayColorSpaceMode (void)
 Get the cached LCD color-space mode.
 
int ksceLcdSetBrightness (SceUInt32 brightness)
 Set the wide LCD brightness (0 through 0x10000).
 
int ksceLcdSetDisplayColorSpaceMode (SceLcdColorSpaceMode mode)
 Set the LCD color-space mode.
 
int ksceLcdWaitReady (void)
 Wait until the asynchronous LCD initialization attempt has completed.