diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-06-01 23:51:05 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-06-01 23:51:05 +0100 |
commit | 74daa7b891486fdd92cce0c67d076e29b93aeb1c (patch) | |
tree | 97ce20fb058a798c0d6c48250301fd56f6d9eba5 /src/timer.h | |
parent | afc7ea1e4f667c16100677a3fe6d9b27278a8635 (diff) | |
download | gold-mine-run-74daa7b891486fdd92cce0c67d076e29b93aeb1c.tar.gz gold-mine-run-74daa7b891486fdd92cce0c67d076e29b93aeb1c.zip |
Add timer to count ticks
Diffstat (limited to 'src/timer.h')
-rw-r--r-- | src/timer.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/timer.h b/src/timer.h new file mode 100644 index 0000000..22ef6d2 --- /dev/null +++ b/src/timer.h @@ -0,0 +1,9 @@ +#ifndef _TIMER_H +#define _TIMER_H + +extern volatile uint32_t ticks; + +void timer_init(); +void timer_free(); + +#endif /* _TIMER_H */ |