PSPSDK 2025-04-22
Loading...
Searching...
No Matches
pspsyscon.h
Go to the documentation of this file.
1/*
2 * PSP Software Development Kit - https://github.com/pspdev
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 */
11
12#ifndef PSPSYSCON_H
13#define PSPSYSCON_H
14
15#include <pspkerneltypes.h>
16
20#ifdef __cplusplus
21extern "C" {
22#endif
23
31
38void sceSysconResetDevice(int unk1, int unk2);
39
40#define SCE_LED_POWER 1
41#define LED_ON 1
42#define LED_OFF 0
49int sceSysconCtrlLED(int SceLED, int state);
50
58int sceSysconCtrlHRPower(int power);
59
65
66int sceSysconSetHPConnectCallback(void (*)(int), int unk0);
67
68int sceSysconSetHRPowerCallback(void (*)(int), int unk0);
69
74int sceSysconGetPommelVersion(int* version);
75
80int sceSysconGetBaryonVersion(int* version);
81
87
92int sceSysconGetTimeStamp(s8 *timeStamp);
93
96#ifdef __cplusplus
97}
98#endif
99
100#endif
int sceSysconGetBaryonVersion(int *version)
Get the PSP's Baryon version.
void sceSysconPowerStandby(void)
Force the PSP to go into standby.
int sceSysconSetHRPowerCallback(void(*)(int), int unk0)
int sceSysconCtrlHRPower(int power)
Control the remote control power.
int sceSysconGetPolestarVersion(int *version)
Get the PSP's Polestar version.
s8 sceSysconGetHPConnect(void)
Get the headphone connection status.
void sceSysconResetDevice(int unk1, int unk2)
Reset the PSP.
int sceSysconSetHPConnectCallback(void(*)(int), int unk0)
int sceSysconGetTimeStamp(s8 *timeStamp)
Get the baryon timestamp string.
int sceSysconGetPommelVersion(int *version)
Get the PSP's Pommel version.
int sceSysconCtrlLED(int SceLED, int state)
Control an LED.
int8_t s8
Definition psptypes.h:44