pspsdk-1.0+beta2
pspsyscon.h
Go to the documentation of this file.
1 /*
2  * PSP Software Development Kit - http://www.pspdev.org
3  * -----------------------------------------------------------------------
4  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5  *
6  * pspsyscon.h - Interface to sceSyscon_driver.
7  *
8  * Copyright (c) 2006 James F
9  *
10  * $Id: pspsyscon.h 2413 2008-07-23 22:04:04Z raphael $
11  */
12 
13 #ifndef PSPSYSCON_H
14 #define PSPSYSCON_H
15 
16 #include <pspkerneltypes.h>
17 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
27 
31 void sceSysconPowerStandby(void);
32 
39 void sceSysconResetDevice(int unk1, int unk2);
40 
41 #define SCE_LED_POWER 1
42 #define LED_ON 1
43 #define LED_OFF 0
44 
50 int sceSysconCtrlLED(int SceLED, int state);
51 
59 int sceSysconCtrlHRPower(int power);
60 
61 
62 int sceSysconGetHPConnect(void);
63 
64 int sceSysconSetHPConnectCallback( void (*)(int), int unk0 );
65 
66 int sceSysconSetHRPowerCallback( void (*)(int), int unk0 );
67 
70 #ifdef __cplusplus
71 }
72 #endif
73 
74 #endif