pspsyscon.h

Go to the documentation of this file.
00001 /*
00002  * PSP Software Development Kit - http://www.pspdev.org
00003  * -----------------------------------------------------------------------
00004  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
00005  *
00006  * pspsyscon.h - Interface to sceSyscon_driver.
00007  *
00008  * Copyright (c) 2006 James F
00009  *
00010  * $Id: pspsyscon.h 2413 2008-07-23 22:04:04Z raphael $
00011  */
00012 
00013 #ifndef PSPSYSCON_H
00014 #define PSPSYSCON_H
00015 
00016 #include <pspkerneltypes.h>
00017 
00021 #ifdef __cplusplus
00022 extern "C" {
00023 #endif
00024 
00027 
00031 void sceSysconPowerStandby(void);
00032 
00039 void sceSysconResetDevice(int unk1, int unk2);
00040 
00041 #define SCE_LED_POWER 1
00042 #define LED_ON 1
00043 #define LED_OFF 0
00044 
00050 int sceSysconCtrlLED(int SceLED, int state);
00051 
00059 int sceSysconCtrlHRPower(int power);
00060 
00061 
00062 int     sceSysconGetHPConnect(void);
00063 
00064 int sceSysconSetHPConnectCallback( void (*)(int), int unk0 );
00065 
00066 int sceSysconSetHRPowerCallback( void (*)(int), int unk0 );
00067 
00070 #ifdef __cplusplus
00071 }
00072 #endif
00073 
00074 #endif