summaryrefslogtreecommitdiff
path: root/ports/atmel-samd/timer_handler.h
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-03-10 13:12:01 -0500
committerJeff Epler <jepler@gmail.com>2020-04-14 18:24:54 -0500
commit09dc46a98480350b157636ffff8b89470f595f6e (patch)
tree20632cd868dccaeb89681fc223a828158cb0e9de /ports/atmel-samd/timer_handler.h
parenta51d4f7a45ba19dfe419bbdd7f744ded50f0c38e (diff)
Add Protomatter and FramebufferDisplay
Diffstat (limited to 'ports/atmel-samd/timer_handler.h')
-rw-r--r--ports/atmel-samd/timer_handler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/atmel-samd/timer_handler.h b/ports/atmel-samd/timer_handler.h
index 4a7adb58c..646cd54ec 100644
--- a/ports/atmel-samd/timer_handler.h
+++ b/ports/atmel-samd/timer_handler.h
@@ -30,8 +30,13 @@
#define TC_HANDLER_PULSEOUT 0x1
#define TC_HANDLER_PEW 0x2
#define TC_HANDLER_FREQUENCYIN 0x3
+#define TC_HANDLER_PROTOMATTER 0x4
void set_timer_handler(bool is_tc, uint8_t index, uint8_t timer_handler);
void shared_timer_handler(bool is_tc, uint8_t index);
+// implementation of these functions is in PWMOut.c
+void timer_never_reset(int index, bool is_tc);
+void timer_reset_ok(int index, bool is_tc);
+
#endif // MICROPY_INCLUDED_ATMEL_SAMD_TIMER_HANDLER_H