From 93b063fedfcf7409a67df035170ea5670cad22e1 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Tue, 24 Nov 2020 13:46:41 -0700 Subject: Moved action to top level. Removed old iterations of the project and moved the files from 02-usart to the root directory since that's the sole place where the action is and that subproject has outgrown its initial title. --- include/kern/delay.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/kern/delay.h (limited to 'include/kern/delay.h') diff --git a/include/kern/delay.h b/include/kern/delay.h new file mode 100644 index 0000000..65a26d6 --- /dev/null +++ b/include/kern/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