circuitpython/ports/atmel-samd/common-hal/pulseio
Scott Shawcroft 2fbab8067a Prevent freezing USB during high frequency PulseIn.
We now track the last time the background task ran and bail on the
PulseIn if it starves the background work. In practice, this
happens after the numbers from pulsein are no longer accurate.

This also adjusts interrupt priorities so most are the lowest level
except for the tick and USB interrupts.

Fixes #516 and #876
2018-06-08 12:56:32 -07:00
..
__init__.c Merge commit 'f869d6b2e339c04469c6c9ea3fb2fabd7bbb2d8c' into nrf2_merge 2017-10-24 22:31:16 -07:00
PulseIn.c Prevent freezing USB during high frequency PulseIn. 2018-06-08 12:56:32 -07:00
PulseIn.h Prevent freezing USB during high frequency PulseIn. 2018-06-08 12:56:32 -07:00
PulseOut.c atmel-samd: Re-org helper peripheral files into their own subdirectory. 2018-06-01 15:07:31 -07:00
PulseOut.h m0 pulseout works. Factored out shared timer code. 2018-02-13 18:17:20 -08:00
PWMOut.c atmel-samd: Re-org helper peripheral files into their own subdirectory. 2018-06-01 15:07:31 -07:00
PWMOut.h WIP 2018-02-09 16:37:27 -08:00