summaryrefslogtreecommitdiff
path: root/src/arch/arduino-nano/driver
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-08-07 17:30:37 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-08-07 17:30:37 +0200
commit34d55c304253fde0fc113f384f619171e3cf3167 (patch)
tree9c8a4a5c49124d4a1ab9d5580d758f0c6f5aebc6 /src/arch/arduino-nano/driver
parent444e03292cf59f8d91e73084f1ed648e02662e58 (diff)
AVR GPIO: Add pullup support
Diffstat (limited to 'src/arch/arduino-nano/driver')
-rw-r--r--src/arch/arduino-nano/driver/gpio.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/arch/arduino-nano/driver/gpio.cc b/src/arch/arduino-nano/driver/gpio.cc
index b1f9c63..707f2bd 100644
--- a/src/arch/arduino-nano/driver/gpio.cc
+++ b/src/arch/arduino-nano/driver/gpio.cc
@@ -1,4 +1,17 @@
#include "driver/gpio.h"
#include <avr/io.h>
+#include <avr/interrupt.h>
GPIO gpio;
+
+ISR(PCINT0_vect)
+{
+}
+
+ISR(PCINT1_vect)
+{
+}
+
+ISR(PCINT2_vect)
+{
+}