From 3b7d25e1586082a7c5d0066a56d80f7c55862e38 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Mon, 15 Jan 2018 15:09:00 -0700 Subject: broke apart main.c into delay.* and isr_vector.* --- system-clock/include/delay.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 system-clock/include/delay.h (limited to 'system-clock/include/delay.h') diff --git a/system-clock/include/delay.h b/system-clock/include/delay.h new file mode 100644 index 0000000..65a26d6 --- /dev/null +++ b/system-clock/include/delay.h @@ -0,0 +1,12 @@ +#ifndef H__DELAY__ +#define H__DELAY__ + +#include + +/* + * Loops and count-downs the delay, the time this takes depends on the speed + * of the clock. + */ +void delay(uint32_t delay); + +#endif /* H__DELAY__ */ -- cgit