diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2020-04-14 17:14:44 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2020-04-14 17:14:44 -0700 |
| commit | b580b34cbf1c48ef3de1dbeb5f44ec3d06b704af (patch) | |
| tree | 9ec02ce5a6e78fb0383058972d09938813f39db3 /ports/atmel-samd/timer_handler.h | |
| parent | 7dfcae6067ee07ad644278a66aaa114759b181a8 (diff) | |
| parent | 7ed1483b89d24bb4dd44f9c4c8271c438303b9fe (diff) | |
Merge remote-tracking branch 'adafruit/master' into lower_power
Diffstat (limited to 'ports/atmel-samd/timer_handler.h')
| -rw-r--r-- | ports/atmel-samd/timer_handler.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ports/atmel-samd/timer_handler.h b/ports/atmel-samd/timer_handler.h index e4cae2ab7..a33f41a64 100644 --- a/ports/atmel-samd/timer_handler.h +++ b/ports/atmel-samd/timer_handler.h @@ -30,9 +30,14 @@ #define TC_HANDLER_PULSEOUT 0x1 #define TC_HANDLER_PEW 0x2 #define TC_HANDLER_FREQUENCYIN 0x3 -#define TC_HANDLER_PULSEIN 0x4 +#define TC_HANDLER_PROTOMATTER 0x4 +#define TC_HANDLER_PULSEIN 0x5 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 |
