summaryrefslogtreecommitdiff
path: root/rcc/rcc_methods.h
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2021-09-15 01:08:19 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2021-09-16 20:29:45 +0200
commitc394c461c5494025934b4fda4231ee0c02b21d4d (patch)
tree8f1549b04445606751450b2fc19aecd1bb2bb5fa /rcc/rcc_methods.h
parent0b937d47a4abf697dc4c6b9fe8565f9777132474 (diff)
rcc: include a static file with function prototypes
Authors modifying rcc.cpp should add their protos here as desired. Signed-off-by: Karl Palsson <karlp@tweak.net.au>
Diffstat (limited to 'rcc/rcc_methods.h')
-rw-r--r--rcc/rcc_methods.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/rcc/rcc_methods.h b/rcc/rcc_methods.h
new file mode 100644
index 0000000..2888dae
--- /dev/null
+++ b/rcc/rcc_methods.h
@@ -0,0 +1,6 @@
+#pragma once
+
+#include <stdint.h>
+
+void rcc_init();
+void rcc_init(uint32_t osc_mhz, uint32_t sysclk_mhz);