summaryrefslogtreecommitdiff
path: root/hal/usart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hal/usart.cpp')
-rw-r--r--hal/usart.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/hal/usart.cpp b/hal/usart.cpp
new file mode 100644
index 0000000..c446302
--- /dev/null
+++ b/hal/usart.cpp
@@ -0,0 +1,7 @@
+#include "usart.h"
+
+template<>
+void interrupt<Interrupt::USART1>() {
+ USART1.DR;
+ //GPIOB.ODR ^= 1 << 1;
+}