summaryrefslogtreecommitdiffstats
path: root/hal/hwconfig.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'hal/hwconfig.hpp')
-rw-r--r--hal/hwconfig.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/hal/hwconfig.hpp b/hal/hwconfig.hpp
new file mode 100644
index 0000000..0cd38ac
--- /dev/null
+++ b/hal/hwconfig.hpp
@@ -0,0 +1,22 @@
+#ifndef HWCONFIG_HPP
+#define HWCONFIG_HPP
+
+#define _XTAL_FREQ 8000000UL
+
+namespace hw
+{
+ void reglock();
+ void regunlock();
+}
+
+namespace osc
+{
+ void initialize();
+}
+
+namespace interrupts
+{
+ void initialize();
+}
+
+#endif \ No newline at end of file