pspsdk-1.0+beta2
Main Page
Modules
Data Structures
Files
File List
Globals
pspsdk-1.0+beta2
Modules
Data Structures
Files
File List
src
asfparser
atrac3
audio
base
ctrl
debug
display
fpu
ge
gu
gum
hprm
kernel
pspaudiorouting.h
pspexception.h
pspidstorage.h
pspimpose_driver.h
pspinit.h
pspintrman_kernel.h
pspiofilemgr_kernel.h
pspkdebug.h
pspkernel.h
psploadcore.h
psploadexec_kernel.h
pspmodulemgr_kernel.h
pspstdio_kernel.h
pspsysclib.h
pspsyscon.h
pspsysevent.h
pspsysmem_kernel.h
pspsysreg.h
pspsystimer.h
pspthreadman_kernel.h
psputilsforkernel.h
libc
mp3
mpeg
nand
net
openpsid
power
prof
registry
rtc
sdk
sircs
startup
umd
usb
usbstor
user
utility
vfpu
video
vsh
wlan
tools
Globals
pspsystimer.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
* pspsystimer.h - Prototypes for the sceSystimer library.
7
*
8
* Copyright (c) 2007 Iaroslav Gaponenko <adrahil@gmail.com>
9
*
10
* $Id: pspsystimer.h 2149 2007-01-25 20:46:21Z tyranid $
11
*/
12
13
#ifndef __SYSTIMER_H__
14
#define __SYSTIMER_H__
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
20
typedef
int
SceSysTimerId
;
21
27
SceSysTimerId
sceSTimerAlloc
(
void
);
28
35
void
sceSTimerFree
(SceSysTimerId timer);
36
43
void
sceSTimerStartCount
(SceSysTimerId timer);
44
51
void
sceSTimerStopCount
(SceSysTimerId timer);
52
59
void
sceSTimerResetCount
(SceSysTimerId timer);
60
68
void
sceSTimerGetCount
(SceSysTimerId timer,
int
*
count
);
69
79
void
sceSTimerSetHandler
(SceSysTimerId timer,
int
cycle,
int
(*handler)(
void
),
int
unk1);
80
81
/* Unknown functions. */
82
//probably something to set the cycle of an active timer.
83
void
SysTimerForKernel_53231A15
(SceSysTimerId timer,
int
unk1);
84
//more complex. computes some ratio (unk2/unk1) and saves both parameters into the hardware registers. Might be some sort of scaling factor?
85
void
SysTimerForKernel_B53534B4
(SceSysTimerId timer,
int
unk1,
int
unk2);
86
87
88
89
#ifdef __cplusplus
90
}
91
#endif
92
93
#endif
src
kernel
pspsystimer.h
Generated on Sat Apr 9 2016 07:00:25 for pspsdk-1.0+beta2 by
1.8.1.2