diff options
author | Ian Moffett <ian@osmora.org> | 2023-12-25 14:55:54 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2023-12-25 14:55:54 -0500 |
commit | 8e559cbb41d696eb119c5daccd33670ebb5207c3 (patch) | |
tree | a282204bdb4613455517a0b40ab4675e4e167885 | |
parent | be09d3e5351fc42426605923b0fe7bda420cba21 (diff) |
kernel: timer: Add microseconds support
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | sys/include/sys/timer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/sys/timer.h b/sys/include/sys/timer.h index 41cc12b..e00d808 100644 --- a/sys/include/sys/timer.h +++ b/sys/include/sys/timer.h @@ -76,7 +76,9 @@ struct timer { int(*usleep)(size_t us); int(*nsleep)(size_t ns); void(*periodic_ms)(size_t ms); + void(*periodic_us)(size_t ms); void(*oneshot_ms)(size_t ms); + void(*oneshot_us)(size_t ms); void(*stop)(void); }; |