summaryrefslogtreecommitdiffstats
path: root/stm32/app/tacho.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm32/app/tacho.h')
-rw-r--r--stm32/app/tacho.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/stm32/app/tacho.h b/stm32/app/tacho.h
new file mode 100644
index 0000000..a044ae7
--- /dev/null
+++ b/stm32/app/tacho.h
@@ -0,0 +1,5 @@
+
+#define TACHO_IRQ NVIC_EXTI3_IRQ
+#define TACHO GPIO3
+#define TACHO_PORT GPIOB
+#define TACHO_ISR exti3_isr