vitasdk
Documentation of the vitasdk
lcd.h
Go to the documentation of this file.
1
6#ifndef _PSP2KERN_LCD_H_
7#define _PSP2KERN_LCD_H_
8
9#include <psp2kern/types.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
22VITASDK_BUILD_ASSERT_EQ(4, SceLcdErrorCode); // size is from FW 3.60
23
30
44
58
61
78int ksceLcdGetDDB(SceUInt16 *supplier_id, SceUInt16 *supplier_elective_data);
79
82
104
120
130
131#ifdef __cplusplus
132}
133#endif
134
135#endif /* _PSP2KERN_LCD_H_ */
#define VITASDK_BUILD_ASSERT_EQ(__size__, __name__)
Definition build_utils.h:13
int ksceLcdSetDisplayColorSpaceMode(SceLcdColorSpaceMode mode)
Set the LCD color-space mode.
int ksceLcdSetBrightness(SceUInt32 brightness)
Set the wide LCD brightness (0 through 0x10000).
SceLcdColorSpaceMode ksceLcdGetDisplayColorSpaceMode(void)
Get the cached LCD color-space mode.
SceUInt32 ksceLcdGetBrightness(void)
Get the exact wide-brightness value most recently accepted by the driver.
SceLcdErrorCode
LCD driver error codes observed on FW 3.60.
Definition lcd.h:16
int ksceLcdWaitReady(void)
Wait until the asynchronous LCD initialization attempt has completed.
int ksceLcdGetDDB(SceUInt16 *supplier_id, SceUInt16 *supplier_elective_data)
Get the Device Descriptor Block values cached during LCD initialization.
int ksceLcdDisplayOff(void)
Queue the LCD display-off sequence.
SceLcdColorSpaceMode
LCD color-space modes.
Definition lcd.h:25
int ksceLcdDisplayOn(void)
Queue the LCD display-on sequence.
@ SCE_LCD_ERROR_INVALID_STATE
Definition lcd.h:20
@ SCE_LCD_ERROR_INVALID_ARGUMENT
Definition lcd.h:17
@ SCE_LCD_ERROR_INITIALIZATION_FAILED
Definition lcd.h:18
@ SCE_LCD_ERROR_NOT_READY
Definition lcd.h:19
@ SCE_LCD_COLOR_SPACE_MODE_0
Definition lcd.h:26
@ SCE_LCD_COLOR_SPACE_MODE_1
Definition lcd.h:27
uint16_t SceUInt16
Definition types.h:42
uint32_t SceUInt32
Definition types.h:45