diff options
author | red031000 <rubenru09@aol.com> | 2020-05-17 17:43:10 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2020-05-17 17:43:10 +0100 |
commit | fc177ec7c3976d54b24ef480a29b301ef26e7073 (patch) | |
tree | 553029afb7e52781a9bd6be0c8a32bd2e026b1ba /arm9/lib/include/OS_alarm.h | |
parent | 4c3e5d526588c546d20cd82613ea57396bebb64b (diff) |
fill out _OSThread
Diffstat (limited to 'arm9/lib/include/OS_alarm.h')
-rw-r--r-- | arm9/lib/include/OS_alarm.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arm9/lib/include/OS_alarm.h b/arm9/lib/include/OS_alarm.h new file mode 100644 index 00000000..6971248a --- /dev/null +++ b/arm9/lib/include/OS_alarm.h @@ -0,0 +1,27 @@ +// +// Created by red031000 on 2020-05-17. +// + +#ifndef POKEDIAMOND_OS_ALARM_H +#define POKEDIAMOND_OS_ALARM_H + +#include "types.h" +#include "OS_thread.h" + +typedef void (*OSAlarmHandler) (void *); + +struct OSiAlarm +{ + OSAlarmHandler handler; + void *arg; + + u32 tag; + OSTick fire; + OSAlarm *prev; + OSAlarm *next; + + OSTick period; + OSTick start; +}; + +#endif //POKEDIAMOND_OS_ALARM_H |