sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
timer_alarm.h
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Copyright ps2dev - http://www.ps2dev.org
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
15
#ifndef __TIMER_ALARM_H__
16
#define __TIMER_ALARM_H__
17
18
#include <
tamtypes.h
>
19
#include <
timer.h
>
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
25
extern
u64 AlarmHandler(s32 alarm_id, u64 scheduled_time, u64 actual_time,
void
*arg,
void
*last_pc);
26
extern
s32 iSetTimerAlarm(u64 clock_cycles, timer_alarm_handler_t callback_handler,
void
*arg);
27
extern
s32
SetTimerAlarm
(u64 clock_cycles, timer_alarm_handler_t callback_handler,
void
*arg);
28
extern
s32 iReleaseTimerAlarm(s32
id
);
29
extern
s32 ReleaseTimerAlarm(s32
id
);
30
31
#ifdef __cplusplus
32
};
33
#endif
34
35
#endif
36
tamtypes.h
timer.h
SetTimerAlarm
s32 SetTimerAlarm(u64 clock_cycles, timer_alarm_handler_t callback_handler, void *arg)
Definition
timer_alarm.c:120
core
kernel
include
timer_alarm.h
Generated by
1.18.0