diff options
author | Dasky <32983009+daskygit@users.noreply.github.com> | 2024-10-25 18:10:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-25 18:10:17 +0100 |
commit | 5c85271e48b4f2be7da47d1728ad1ddb95364ad7 (patch) | |
tree | b529dc681017349e509bb454a49fb220176400d4 /platforms/timer.h | |
parent | f486605bab51c858edad09deeedbdcefc398f222 (diff) |
Add timer_save and _restore functions. (#23887)
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'platforms/timer.h')
-rw-r--r-- | platforms/timer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platforms/timer.h b/platforms/timer.h index d55f40f0b0..fb8ff6bc54 100644 --- a/platforms/timer.h +++ b/platforms/timer.h @@ -38,6 +38,8 @@ extern volatile uint32_t timer_count; void timer_init(void); void timer_clear(void); +void timer_save(void); +void timer_restore(void); uint16_t timer_read(void); uint32_t timer_read32(void); uint16_t timer_elapsed(uint16_t last); |