Skip to content

Commit 8188e46

Browse files
committed
syscon: Add documentation for sceSysconGetTimeStamp and cleanup other docs
1 parent 507c83e commit 8188e46

File tree

1 file changed

+23
-17
lines changed

1 file changed

+23
-17
lines changed

src/kernel/pspsyscon.h

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,35 +25,35 @@ extern "C" {
2525
/**@{*/
2626

2727
/**
28-
* Force the PSP to go into standby
28+
* Force the PSP to go into standby.
2929
*/
3030
void sceSysconPowerStandby(void);
3131

3232
/**
33-
* Reset the PSP
33+
* Reset the PSP.
3434
*
35-
* @param unk1 - Unknown, pass 1
36-
* @param unk2 - Unknown, pass 1
35+
* @param unk1 - Unknown, pass 1.
36+
* @param unk2 - Unknown, pass 1.
3737
*/
3838
void sceSysconResetDevice(int unk1, int unk2);
3939

4040
#define SCE_LED_POWER 1
4141
#define LED_ON 1
4242
#define LED_OFF 0
4343
/**
44-
* Control an LED
44+
* Control an LED.
4545
*
46-
* @param SceLED - The led to toggle (only SCE_LED_POWER)
47-
* @param state - Whether to turn on or off
46+
* @param SceLED - The led to toggle (only SCE_LED_POWER).
47+
* @param state - Whether to turn on or off.
4848
*/
4949
int sceSysconCtrlLED(int SceLED, int state);
5050

5151
/**
52-
* Control the remote control power
52+
* Control the remote control power.
5353
*
54-
* @param power - 1 is on, 0 is off
54+
* @param power - 1 is on, 0 is off.
5555
*
56-
* @return < 0 on error
56+
* @return < 0 on error.
5757
*/
5858
int sceSysconCtrlHRPower(int power);
5959

@@ -68,22 +68,28 @@ int sceSysconSetHPConnectCallback(void (*)(int), int unk0);
6868
int sceSysconSetHRPowerCallback(void (*)(int), int unk0);
6969

7070
/**
71-
* Get the PSP's Pommel version
72-
* @param version - A pointer to an int to receive the Pommel version into
71+
* Get the PSP's Pommel version.
72+
* @param version - A pointer to an int to receive the Pommel version into.
7373
*/
7474
int sceSysconGetPommelVersion(int* version);
7575

7676
/**
77-
* Get the PSP's Baryon version
78-
* @param version - A pointer to an int to receive the Baryon version into
77+
* Get the PSP's Baryon version.
78+
* @param version - A pointer to an int to receive the Baryon version into.
7979
*/
8080
int sceSysconGetBaryonVersion(int* version);
8181

8282
/**
83-
* Get the PSP's Polestar version
84-
* @param version - A pointer to an int to receive the Polestar version into
83+
* Get the PSP's Polestar version.
84+
* @param version - A pointer to an int to receive the Polestar version into.
8585
*/
86-
int sceSysconGetPolestarVersion(int* version);
86+
int sceSysconGetPolestarVersion(int* version);
87+
88+
/**
89+
* Get the baryon timestamp string.
90+
* @param timeStamp A pointer to a string at least 12 bytes long.
91+
*/
92+
int sceSysconGetTimeStamp(s8 *timeStamp);
8793

8894
/**@}*/
8995

0 commit comments

Comments
 (0)