circuitpython/shared-bindings/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
..
PWMOut.c Do not allow a *io object to be used after deinit(). 2017-10-03 12:07:17 -07:00
PWMOut.h Do not allow a *io object to be used after deinit(). 2017-10-03 12:07:17 -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 Do not allow a *io object to be used after deinit(). 2017-10-03 12:07:17 -07:00
PulseOut.h Do not allow a *io object to be used after deinit(). 2017-10-03 12:07:17 -07:00
__init__.c shared-bindings: Update docs to remove with statements from examples but add more detail to the design guide about their use. 2017-06-07 14:39:12 -07:00
__init__.h Initial merge of micropython v1.9.2 into circuitpython 2.0.0 (in development) master. 2017-08-25 22:17:07 -04:00