summaryrefslogtreecommitdiff
path: root/ports/atmel-samd/eic_handler.h
diff options
context:
space:
mode:
authorDaniel Pollard <daniel@learnweaver.com>2020-05-05 15:23:38 +1000
committerDaniel Pollard <daniel@learnweaver.com>2020-05-05 15:23:38 +1000
commitbfa5cd9c13e308df5462653a53fe99eeb0543bc3 (patch)
tree8655ba7f7a099f0705df220260ca0d1453d7e116 /ports/atmel-samd/eic_handler.h
parent54eb6d39e467e99a214c4ff2b19d061182de4fd0 (diff)
refactor countio based on feedback
Diffstat (limited to 'ports/atmel-samd/eic_handler.h')
-rw-r--r--ports/atmel-samd/eic_handler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/atmel-samd/eic_handler.h b/ports/atmel-samd/eic_handler.h
index 71b0fce67..08da7ea34 100644
--- a/ports/atmel-samd/eic_handler.h
+++ b/ports/atmel-samd/eic_handler.h
@@ -30,6 +30,7 @@
#define EIC_HANDLER_PULSEIN 0x1
#define EIC_HANDLER_INCREMENTAL_ENCODER 0x2
#define EIC_HANDLER_PS2 0x3
+#define EIC_HANDLER_COUNTER 0x04
void set_eic_handler(uint8_t channel, uint8_t eic_handler);
void shared_eic_handler(uint8_t channel);