|
sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
|
Go to the source code of this file.
Functions | |
| u64 | AlarmHandler (s32 alarm_id, u64 scheduled_time, u64 actual_time, void *arg, void *last_pc) |
| s32 | iSetTimerAlarm (u64 clock_cycles, timer_alarm_handler_t callback_handler, void *arg) |
| s32 | SetTimerAlarm (u64 clock_cycles, timer_alarm_handler_t callback_handler, void *arg) |
| s32 | iReleaseTimerAlarm (s32 id) |
| s32 | ReleaseTimerAlarm (s32 id) |
|
extern |
Definition at line 65 of file timer_alarm.c.
|
extern |
Definition at line 134 of file timer_alarm.c.
|
extern |
Definition at line 84 of file timer_alarm.c.
|
extern |
Definition at line 152 of file timer_alarm.c.
|
extern |
Sets up alarm paramenters.
| clock_cycles | Number of bus cycles when the alarm will trigger |
| callback_handler | Function pointer to call when the alarm triggers (in IRQ) |
| arg | Argument to pass to callback_handler |
Starts the alarm. If the alarm was already started, it does nothing.
Definition at line 120 of file timer_alarm.c.