diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-08-07 17:30:37 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-08-07 17:30:37 +0200 |
commit | 34d55c304253fde0fc113f384f619171e3cf3167 (patch) | |
tree | 9c8a4a5c49124d4a1ab9d5580d758f0c6f5aebc6 /src/arch | |
parent | 444e03292cf59f8d91e73084f1ed648e02662e58 (diff) |
AVR GPIO: Add pullup support
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/arduino-nano/driver/gpio.cc | 13 |
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) +{ +} |